[clang] [clang-tools-extra] [clang] Skip suggesting unqualified members in explicit-object member functions (PR #153760)
Mythreya Kuricheti via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 15 02:00:45 PDT 2025
================
@@ -42,7 +42,23 @@ int func3() {
int func4() {
// TODO (&A::foo)(
- (&A::bar)(
+ (&A::bar)()
}
----------------
MythreyaK wrote:
Had to add this paren, otherwise compilation fails
```
clang/test/CodeCompletion/cpp23-explicit-object.cpp:46:1: error: expected expression
46 | }
| ^
1 error generated.
```
https://github.com/llvm/llvm-project/pull/153760
More information about the cfe-commits
mailing list