mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Sema/CS] std::function -> llvm::function_ref for some non-escaping params.
This commit is contained in:
@@ -562,7 +562,7 @@ namespace {
|
||||
/// overloads which inhibit any overload from being favored.
|
||||
void favorCallOverloads(ApplyExpr *expr,
|
||||
ConstraintSystem &CS,
|
||||
std::function<bool(ValueDecl *)> isFavored,
|
||||
llvm::function_ref<bool(ValueDecl *)> isFavored,
|
||||
std::function<bool(ValueDecl *)>
|
||||
mustConsider = nullptr) {
|
||||
// Find the type variable associated with the function, if any.
|
||||
|
||||
Reference in New Issue
Block a user