r189113 - Revise -Wnewline-eof test per feedback from Dmitri.

Jordan Rose jordan_rose at apple.com
Fri Aug 23 09:12:49 PDT 2013


Author: jrose
Date: Fri Aug 23 11:12:49 2013
New Revision: 189113

URL: http://llvm.org/viewvc/llvm-project?rev=189113&view=rev
Log:
Revise -Wnewline-eof test per feedback from Dmitri.

Modified:
    cfe/trunk/test/Lexer/newline-eof.c

Modified: cfe/trunk/test/Lexer/newline-eof.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/newline-eof.c?rev=189113&r1=189112&r2=189113&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/newline-eof.c (original)
+++ cfe/trunk/test/Lexer/newline-eof.c Fri Aug 23 11:12:49 2013
@@ -1,12 +1,12 @@
-// RUN: %clang -fsyntax-only -Wnewline-eof -verify %s
-// RUN: %clang -fsyntax-only -pedantic -verify %s
-// RUN: %clang -fsyntax-only -x c++ -std=c++03 -pedantic -verify %s
-// RUN: %clang -fsyntax-only -Wnewline-eof %s 2>&1 | FileCheck %s
+// RUN: %clang_cc1 -fsyntax-only -Wnewline-eof -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -x c++ -std=c++03 -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wnewline-eof %s 2>&1 | FileCheck %s
 // rdar://9133072
 
 // In C++11 mode, this is allowed, so don't warn in pedantic mode.
-// RUN: %clang -fsyntax-only -x c++ -std=c++11 -Wnewline-eof -verify %s
-// RUN: %clang -fsyntax-only -x c++ -std=c++11 -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -x c++ -std=c++11 -Wnewline-eof -verify %s
+// RUN: %clang_cc1 -fsyntax-only -x c++ -std=c++11 -Werror -pedantic %s
 
 // Make sure the diagnostic shows up properly at the end of the last line.
 // CHECK: newline-eof.c:[[@LINE+3]]:63





More information about the cfe-commits mailing list