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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 25 11:48:07 PST 2024


================
@@ -473,6 +473,7 @@ def ExpansionToDefined : DiagGroup<"expansion-to-defined">;
 def FlagEnum : DiagGroup<"flag-enum">;
 def IncrementBool : DiagGroup<"increment-bool", [DeprecatedIncrementBool]>;
 def InfiniteRecursion : DiagGroup<"infinite-recursion">;
+def InvalidSpecialization : DiagGroup<"invalid-specialization">;
----------------
erichkeane wrote:

Remove this line, and see the suggestion I have.  I vastly prefer to keep these warning groups to just groups where they are used >1 time, as it makes it easier to review when folks want to add to an existing warning group.

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


More information about the cfe-commits mailing list