[clang] [clang-tools-extra] [clang][CodeComplete] skip explicit obj param in SignatureHelp (PR #146649)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 28 22:21:40 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^
----------------
HighCommander4 wrote:
Could you elaborate on this TODO? Is this something the frontend crashes on or incorrectly rejects? Or just something we need to handle in our implementation? (In the latter case it may be better to still test it and put a TODO in the place where we're making assertion about the results.)
https://github.com/llvm/llvm-project/pull/146649
More information about the cfe-commits
mailing list