[clang] [Clang] Reject declaring an alias template with the same name as its template parameter. (PR #123533)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 19 21:12:16 PST 2025


================
@@ -191,4 +192,4 @@ int g = sfinae_me<int>(); // expected-error{{no matching function for call to 's
 
 namespace NullExceptionDecl {
 template<int... I> auto get = []() { try { } catch(...) {}; return I; }; // expected-error{{initializer contains unexpanded parameter pack 'I'}}
-}
+}
----------------
zyn0217 wrote:

Please keep a blank line at the EOF

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


More information about the cfe-commits mailing list