]> granicus.if.org Git - clang/commitdiff
Turn -Wmicrosoft-enum-value off by default.
authorNico Weber <nicolasweber@gmx.de>
Thu, 4 May 2017 19:36:26 +0000 (19:36 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 4 May 2017 19:36:26 +0000 (19:36 +0000)
The warning is currently way too noisy to be useful. The plan is
to make it warn when an MS enum that's negative is compared to
something, but until that's done the warning shouldn't default
to on.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302187 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 6a3a2124a5ffc4f18d7d48dcea9a97cd83b98793..cc530a6dd49f7780a66413de40581e23c516bf4e 100644 (file)
@@ -2088,7 +2088,7 @@ def err_enum_invalid_underlying : Error<
   "non-integral type %0 is an invalid underlying type">;
 def err_enumerator_too_large : Error<
   "enumerator value is not representable in the underlying type %0">;
-def ext_enumerator_too_large : ExtWarn<
+def ext_enumerator_too_large : Extension<
   "enumerator value is not representable in the underlying type %0">,
   InGroup<MicrosoftEnumValue>;
 def err_enumerator_wrapped : Error<