[cfe-commits] r68980 - /cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td

Chris Lattner sabre at nondot.org
Mon Apr 13 13:19:36 PDT 2009


Author: lattner
Date: Mon Apr 13 15:19:36 2009
New Revision: 68980

URL: http://llvm.org/viewvc/llvm-project?rev=68980&view=rev
Log:
upgrade "extra tokens at end of directive" to warn by default.

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

Modified: cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td?rev=68980&r1=68979&r2=68980&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td Mon Apr 13 15:19:36 2009
@@ -112,7 +112,7 @@
 def ext_pp_include_next_directive : Extension<
   "#include_next is a language extension">;
 def ext_pp_warning_directive : Extension<"#warning is a language extension">;
-def ext_pp_extra_tokens_at_eol : Extension<
+def ext_pp_extra_tokens_at_eol : ExtWarn<
   "extra tokens at end of %0 directive">;
 def ext_pp_comma_expr : Extension<"comma operator in operand of #if">;
 def ext_pp_bad_vaargs_use : Extension<





More information about the cfe-commits mailing list