[clang] [Clang] Add [[clang::no_specializations]] (PR #101469)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 12 11:13:12 PST 2024


================
@@ -981,6 +981,15 @@ Query for this feature with ``__has_attribute(diagnose_if)``.
   }];
 }
 
+def NoSpecializationsDocs : Documentation {
+  let Category = DocCatDecl;
+  let Content = [{
+``[[clang::no_specializations]]`` can be applied to class or variable
----------------
erichkeane wrote:

You also allow function templates though?

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


More information about the cfe-commits mailing list