================ @@ -1043,6 +1141,8 @@ class Sema; /// C++ [over.match.call.general] /// Resolve a call through the address of an overload set. CSK_AddressOfOverloadSet, + + CSK_CodeCompletion, ---------------- cor3ntin wrote:
When doing code completion, we do overload resolution ( see `ProduceCallSignatureHelp`) - In those cases, we want to always find all candidates, even if there is a candidate that would be a perfect match for the somewhat fake type or set of types that are used to produce the overload set so we can display them all. Or at least that's my best understanding of it - I felt that this patch should not affect the behavior of code completion in any way. https://github.com/llvm/llvm-project/pull/133426 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits