File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
clang/include/clang/Basic Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1158,7 +1158,7 @@ Query for this feature with ``__has_attribute(diagnose_if)``.
11581158def NoSpecializationsDocs : Documentation {
11591159 let Category = DocCatDecl;
11601160 let Content = [{
1161- ``[[clang::no_specializations]]`` can be applied to function, class or variable
1161+ ``[[clang::no_specializations]]`` can be applied to function, class, or variable
11621162templates which should not be explicitly specialized by users. This is primarily
11631163used to diagnose user specializations of standard library type traits.
11641164 }];
Original file line number Diff line number Diff line change @@ -475,7 +475,6 @@ def ExpansionToDefined : DiagGroup<"expansion-to-defined">;
475475def FlagEnum : DiagGroup<"flag-enum">;
476476def IncrementBool : DiagGroup<"increment-bool", [DeprecatedIncrementBool]>;
477477def InfiniteRecursion : DiagGroup<"infinite-recursion">;
478- def InvalidSpecialization : DiagGroup<"invalid-specialization">;
479478def PureVirtualCallFromCtorDtor: DiagGroup<"call-to-pure-virtual-from-ctor-dtor">;
480479def GNUImaginaryConstant : DiagGroup<"gnu-imaginary-constant">;
481480def IgnoredGCH : DiagGroup<"ignored-gch">;
@@ -1590,4 +1589,3 @@ def ExplicitSpecializationStorageClass : DiagGroup<"explicit-specialization-stor
15901589
15911590// A warning for options that enable a feature that is not yet complete
15921591def ExperimentalOption : DiagGroup<"experimental-option">;
1593-
Original file line number Diff line number Diff line change @@ -5447,7 +5447,7 @@ def note_dependent_function_template_spec_discard_reason : Note<
54475447 "namespace; did you mean to explicitly qualify the specialization?}1}0">;
54485448def warn_invalid_specialization : Warning<
54495449 "%0 cannot be specialized%select{|: %2}1">,
5450- DefaultError, InGroup<InvalidSpecialization >;
5450+ DefaultError, InGroup<DiagGroup<"invalid-specialization"> >;
54515451def note_marked_here : Note<"marked %0 here">;
54525452
54535453// C++ class template specializations and out-of-line definitions
You can’t perform that action at this time.
0 commit comments