summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2017-05-04 19:36:26 +0000
committerNico Weber <nicolasweber@gmx.de>2017-05-04 19:36:26 +0000
commitdea97cfbf9515b7732e54530649495172470bf55 (patch)
tree5d3784a0d22b2fde2899f85881315d8345e5e57d
parent02ed7575e7c0dacb6eb36a5893817fcb967905b1 (diff)
downloadbcm5719-llvm-dea97cfbf9515b7732e54530649495172470bf55.tar.gz
bcm5719-llvm-dea97cfbf9515b7732e54530649495172470bf55.zip
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. llvm-svn: 302187
-rw-r--r--clang/include/clang/Basic/DiagnosticSemaKinds.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td
index 6a3a2124a5f..cc530a6dd49 100644
--- a/clang/include/clang/Basic/DiagnosticSemaKinds.td
+++ b/clang/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<MicrosoftEnumValue>;
def err_enumerator_wrapped : Error<
OpenPOWER on IntegriCloud