[clang] [Clang] Reland: Diagnose invalid function types in dependent contexts (PR #139246)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Fri May 9 05:03:58 PDT 2025
================
@@ -33,7 +33,7 @@ T f1(T t1, U u1, int i1, T** tpp)
i1 = t1[u1];
i1 *= t1;
- i1(u1, t1); // expected-error {{called object type 'int' is not a function or function pointer}}
+ i1(u1, t1);
----------------
zyn0217 wrote:
This is unfortunate
https://github.com/llvm/llvm-project/pull/139246
More information about the cfe-commits
mailing list