[cfe-commits] r127177 - /cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td

Carl Norum carl.norum at apple.com
Mon Mar 7 14:19:06 PST 2011


Author: carl
Date: Mon Mar  7 16:19:06 2011
New Revision: 127177

URL: http://llvm.org/viewvc/llvm-project?rev=127177&view=rev
Log:
Change diagnostic message from "Extension" to "ExtWarn" to find more problems with missing semicolons.

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

Modified: cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td?rev=127177&r1=127176&r2=127177&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td Mon Mar  7 16:19:06 2011
@@ -111,7 +111,7 @@
   "expected ';' at end of declaration">;
 def err_expected_semi_decl_list : Error<
   "expected ';' at end of declaration list">;
-def ext_expected_semi_decl_list : Extension<
+def ext_expected_semi_decl_list : ExtWarn<
   "expected ';' at end of declaration list">;
 def err_expected_member_name_or_semi : Error<
   "expected member name or ';' after declaration specifiers">;





More information about the cfe-commits mailing list