[clang] [Clang] Add [[clang::diagnose_specializations]] (PR #101469)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 19 07:31:53 PDT 2024
================
@@ -3327,6 +3330,15 @@ def DiagnoseIf : InheritableAttr {
let Documentation = [DiagnoseIfDocs];
}
+def DiagnoseSpecializations : InheritableAttr {
+ let Spellings = [Clang<"diagnose_specializations", /*AllowInC*/0>];
----------------
AaronBallman wrote:
Should this be named `diagnose_explicit_specializations` given: https://eel.is/c++draft/temp.spec#general-4.sentence-2
https://github.com/llvm/llvm-project/pull/101469
More information about the cfe-commits
mailing list