r179301 - [PCH] Change test/PCH/headersearch.cpp to use -emit-llvm-only instead of -emit-obj
Argyrios Kyrtzidis
akyrtzi at gmail.com
Thu Apr 11 10:37:48 PDT 2013
Author: akirtzidis
Date: Thu Apr 11 12:37:48 2013
New Revision: 179301
URL: http://llvm.org/viewvc/llvm-project?rev=179301&view=rev
Log:
[PCH] Change test/PCH/headersearch.cpp to use -emit-llvm-only instead of -emit-obj
Modified:
cfe/trunk/test/PCH/headersearch.cpp
Modified: cfe/trunk/test/PCH/headersearch.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/headersearch.cpp?rev=179301&r1=179300&r2=179301&view=diff
==============================================================================
--- cfe/trunk/test/PCH/headersearch.cpp (original)
+++ cfe/trunk/test/PCH/headersearch.cpp Thu Apr 11 12:37:48 2013
@@ -20,15 +20,15 @@
// RUN: cp -pR %t_orig %t_moved
// Check diagnostic with location in original source:
-// RUN: %clang_cc1 -include-pch all.h.pch -I%t_moved -I%t_moved/sub2 -Wpadded -emit-obj -o %t.o %s 2> %t.stderr
+// RUN: %clang_cc1 -include-pch all.h.pch -I%t_moved -I%t_moved/sub2 -Wpadded -emit-llvm-only %s 2> %t.stderr
// RUN: grep 'struct orig_sub' %t.stderr
// Check diagnostic with 2nd location in original source:
-// RUN: not %clang_cc1 -DREDECL -include-pch all.h.pch -I%t_moved -I%t_moved/sub2 -emit-obj -o %t.o %s 2> %t.stderr
+// RUN: not %clang_cc1 -DREDECL -include-pch all.h.pch -I%t_moved -I%t_moved/sub2 -emit-llvm-only %s 2> %t.stderr
// RUN: grep 'void foo' %t.stderr
// Check diagnostic with instantiation location in original source:
-// RUN: not %clang_cc1 -DINSTANTIATION -include-pch all.h.pch -I%t_moved -I%t_moved/sub2 -emit-obj -o %t.o %s 2> %t.stderr
+// RUN: not %clang_cc1 -DINSTANTIATION -include-pch all.h.pch -I%t_moved -I%t_moved/sub2 -emit-llvm-only %s 2> %t.stderr
// RUN: grep 'orig_sub2_1' %t.stderr
void qq(orig_sub*) {all();}
More information about the cfe-commits
mailing list