================ @@ -876,6 +876,11 @@ class Sema; /// function pointer or reference (C++ [over.call.object]). FunctionDecl *Function; + /// LambdaName - When the OverloadCandidate is for a + /// lambda's operator(), points to the declaration of + /// the lambda variable. + VarDecl *LambdaName{nullptr}; ---------------- tilobyte wrote:
Wait I think I understand now, you mean the signature help when immediately invoking the lambdas within the `bar` function call? E.g., `bar([]{...}(^), ...)` https://github.com/llvm/llvm-project/pull/101857 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits