From: Nico Weber Date: Thu, 4 May 2017 19:36:26 +0000 (+0000) Subject: Turn -Wmicrosoft-enum-value off by default. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9b4c0cdb33c97b06e7ca1f58f0a8ec254a7635e;p=clang Turn -Wmicrosoft-enum-value off by default. 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 --- diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 6a3a2124a5..cc530a6dd4 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -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; def err_enumerator_wrapped : Error<