[clang] [win][clang] Do not inject static_assert macro definition (PR #147030)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 7 04:53:08 PDT 2025
================
@@ -1450,7 +1450,6 @@ def MicrosoftAnonTag : DiagGroup<"microsoft-anon-tag">;
def MicrosoftCommentPaste : DiagGroup<"microsoft-comment-paste">;
def MicrosoftEndOfFile : DiagGroup<"microsoft-end-of-file">;
def MicrosoftInaccessibleBase : DiagGroup<"microsoft-inaccessible-base">;
-def MicrosoftStaticAssert : DiagGroup<"microsoft-static-assert">;
----------------
AaronBallman wrote:
I was curious whether we should leave the diagnostic group so it's not disruptive, but: https://sourcegraph.com/search?q=context:global+Wno-microsoft-static-assert&patternType=keyword&sm=0
Given there's so little use in the wild, I think it's better to just pull the group entirely so we don't keep it around as tech debt.
https://github.com/llvm/llvm-project/pull/147030
More information about the cfe-commits
mailing list