[clang] [clang-tools-extra] [clang][CodeComplete] skip explicit obj param in SignatureHelp (PR #146649)

Mythreya Kuricheti via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 29 03:03:46 PDT 2025


================
@@ -4368,11 +4409,14 @@ TEST(CompletionTest, SkipExplicitObjectParameter) {
   Annotations Code(R"cpp(
     struct A {
       void foo(this auto&& self, int arg); 
+      void bar(this A self, int arg);
     };
 
     int main() {
       A a {};
-      a.^
+      a.$c1^s
+      (&A::ba$c2^;
+      // TODO: (&A::fo$c3^
----------------
MythreyaK wrote:

This originally resulted in a crash, but was fixed by cor3ntin.

https://github.com/llvm/llvm-project/pull/146649


More information about the cfe-commits mailing list