diff options
author | Francois Pichet <pichet2000@gmail.com> | 2011-01-16 21:44:17 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2011-01-16 21:44:17 +0000 |
commit | e7108aba9b2428f141ee922179ee4aeafc0ca5d1 (patch) | |
tree | 6b88b8307c0008ba7eed28e4bbff09445b76ff66 | |
parent | 2d75bbd36e273f7b958aefc766424220ad158bd9 (diff) |
Downgrade ext_enumerator_too_large from ExtWarn to Extension in Microsoft mode. Otherwise you can warnings flooding trying to selfhost clang with fms-extensions because of "unsigned int" -> "signed int" enumerator conversion.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123600 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index f4cc7deedf..c412ad593d 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -886,7 +886,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<Microsoft>; def err_enumerator_wrapped : Error< |