[clang] [Clang][Sema] Diagnose use of template keyword after declarative nested-name-specifiers (PR #78595)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 18 07:41:58 PST 2024


================
@@ -182,8 +182,8 @@ struct Bad2 { int a, b; };
 } // namespace dr2386
 namespace std {
 template <typename T> struct tuple_size;
-template <> struct std::tuple_size<dr2386::Bad1> {};
----------------
Endilll wrote:

Is this warning emitted if we spell it `::std::tuple)size`?

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


More information about the cfe-commits mailing list