[cfe-commits] r123600 - /cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Francois Pichet pichet2000 at gmail.com
Sun Jan 16 13:44:17 PST 2011


Author: fpichet
Date: Sun Jan 16 15:44:17 2011
New Revision: 123600

URL: http://llvm.org/viewvc/llvm-project?rev=123600&view=rev
Log:
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.

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=123600&r1=123599&r2=123600&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Sun Jan 16 15:44:17 2011
@@ -886,7 +886,7 @@
   "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<





More information about the cfe-commits mailing list