================ @@ -4022,7 +4022,10 @@ CodeCompleteConsumer::OverloadCandidate::CreateSignatureString( std::string Name; llvm::raw_string_ostream OS(Name); - FDecl->getDeclName().print(OS, Policy); + auto const DeclName = (getKind() == CK_Lambda) ---------------- erichkeane wrote:
For diagnostics, we print this exclusively based on type by printing "lambda line:col" or something like that. That said, `operator()` IS the name of this function, so I'd not want us to do away with that. 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