Author: void
Date: Wed Jan 23 17:04:29 2013
New Revision: 173305

URL: http://llvm.org/viewvc/llvm-project?rev=173305&view=rev
Log:
The diagnostic is now a warning instead of an error. Also don't check lines 
beginning with '#', since they could contain a path with the unexpected word in 
them.

Modified:
    cfe/trunk/test/Lexer/badstring_in_if0.c

Modified: cfe/trunk/test/Lexer/badstring_in_if0.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/badstring_in_if0.c?rev=173305&r1=173304&r2=173305&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/badstring_in_if0.c (original)
+++ cfe/trunk/test/Lexer/badstring_in_if0.c Wed Jan 23 17:04:29 2013
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -E %s 2>&1 | not grep error
+// RUN: %clang_cc1 -E %s 2>&1 | grep -v '^#' | not grep warning
 #if 0
 
   "


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to