[cfe-commits] r105843 - /cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
Chris Lattner
sabre at nondot.org
Fri Jun 11 15:10:09 PDT 2010
Author: lattner
Date: Fri Jun 11 17:10:09 2010
New Revision: 105843
URL: http://llvm.org/viewvc/llvm-project?rev=105843&view=rev
Log:
add a -W flag.
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=105843&r1=105842&r2=105843&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Fri Jun 11 17:10:09 2010
@@ -3039,7 +3039,9 @@
"argument to %0 must be a constant integer">;
def ext_mixed_decls_code : Extension<
- "ISO C90 forbids mixing declarations and code">;
+ "ISO C90 forbids mixing declarations and code">,
+ InGroup<DiagGroup<"declaration-after-statement">>;
+
def err_non_variable_decl_in_for : Error<
"declaration of non-local variable in 'for' loop">;
def err_toomany_element_decls : Error<
More information about the cfe-commits
mailing list