Skip to content

Commit 6b9dc4a

Browse files
committed
Remove the diag
1 parent 3060e6f commit 6b9dc4a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

clang/include/clang/Basic/DiagnosticGroups.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,6 @@ def MicrosoftAnonTag : DiagGroup<"microsoft-anon-tag">;
14501450
def MicrosoftCommentPaste : DiagGroup<"microsoft-comment-paste">;
14511451
def MicrosoftEndOfFile : DiagGroup<"microsoft-end-of-file">;
14521452
def MicrosoftInaccessibleBase : DiagGroup<"microsoft-inaccessible-base">;
1453-
def MicrosoftStaticAssert : DiagGroup<"microsoft-static-assert">;
14541453
def MicrosoftInitFromPredefined : DiagGroup<"microsoft-init-from-predefined">;
14551454
def MicrosoftStringLiteralFromPredefined : DiagGroup<
14561455
"microsoft-string-literal-from-predefined">;
@@ -1472,7 +1471,7 @@ def Microsoft : DiagGroup<"microsoft",
14721471
MicrosoftRedeclareStatic, MicrosoftEnumForwardReference, MicrosoftGoto,
14731472
MicrosoftFlexibleArray, MicrosoftExtraQualification, MicrosoftCast,
14741473
MicrosoftConstInit, MicrosoftVoidPseudoDtor, MicrosoftAnonTag,
1475-
MicrosoftCommentPaste, MicrosoftEndOfFile, MicrosoftStaticAssert,
1474+
MicrosoftCommentPaste, MicrosoftEndOfFile,
14761475
MicrosoftInitFromPredefined, MicrosoftStringLiteralFromPredefined,
14771476
MicrosoftInconsistentDllImport, MicrosoftInlineOnNonFunction]>;
14781477

clang/include/clang/Basic/DiagnosticParseKinds.td

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,6 @@ def err_bool_redeclaration : Error<
474474
def warn_cxx98_compat_static_assert : Warning<
475475
"'static_assert' declarations are incompatible with C++98">,
476476
InGroup<CXX98Compat>, DefaultIgnore;
477-
def ext_ms_static_assert : ExtWarn<
478-
"use of 'static_assert' without inclusion of <assert.h> is a Microsoft "
479-
"extension">, InGroup<MicrosoftStaticAssert>;
480477
def ext_cxx_static_assert_no_message : ExtWarn<
481478
"'static_assert' with no message is a C++17 extension">, InGroup<CXX17>;
482479
def ext_c_static_assert_no_message : ExtWarn<

0 commit comments

Comments
 (0)