[clang] [Clang] Fix crash classifying a dependent call to a non-callable value (PR #220110)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 3 05:53:17 PDT 2026


================
@@ -121,6 +121,45 @@ template struct S<1>; // expected-note {{in instantiation}}
 
 }
 
+namespace GH218323 {
+template <auto V> struct W {
+  static constexpr auto value = V;
+  template <class T> auto f(T) -> W<value(T::value)>; // #gh218323-f
----------------
zyn0217 wrote:

I meant typename T::type. Please test it

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


More information about the cfe-commits mailing list