[clang] [Clang] Make most C++98 extension warnings pedantic (PR #246759)
Nikolas Klauser via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 29 09:08:20 PST 2026
================
@@ -31,4 +31,10 @@ template<typename T> void g(T t) {
struct A { template<typename T> struct X { X(T); }; };
void h(A a) { g(a); } // expected-note {{in instantiation of}}
+template<class T> struct CTAD {};
----------------
philnik777 wrote:
This moved out of `cxx98-compat.cpp`.
https://github.com/llvm/llvm-project/pull/246759
More information about the cfe-commits
mailing list