================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to