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

Anna Zaks ganna at apple.com
Fri Jul 22 17:36:52 PDT 2011


Author: zaks
Date: Fri Jul 22 19:36:52 2011
New Revision: 135830

URL: http://llvm.org/viewvc/llvm-project?rev=135830&view=rev
Log:
Add ext_backslash_newline_eof to Wnewline-eof group.

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=135830&r1=135829&r2=135830&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td Fri Jul 22 19:36:52 2011
@@ -40,7 +40,8 @@
   InGroup<Comment>;
 def ext_no_newline_eof : Extension<"no newline at end of file">, 
   InGroup<DiagGroup<"newline-eof">>;
-def ext_backslash_newline_eof : Extension<"backslash-newline at end of file">;
+def ext_backslash_newline_eof : Extension<"backslash-newline at end of file">,
+  InGroup<DiagGroup<"newline-eof">>;
 def ext_dollar_in_identifier : Extension<"'$' in identifier">;
 def charize_microsoft_ext : Extension<"@# is a microsoft extension">;
 





More information about the cfe-commits mailing list