]> granicus.if.org Git - clang/commitdiff
Switch these two tests to use the Clang driver instead of CC1. They want
authorChandler Carruth <chandlerc@gmail.com>
Sat, 5 Nov 2011 10:15:30 +0000 (10:15 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 5 Nov 2011 10:15:30 +0000 (10:15 +0000)
to do "realistic" includes, and so need the header search logic now in
the driver. This in turn requires switching the CC1 options to the
actual driver options, and passing -Xclang where there is no analogy.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143805 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/iterators.cpp
test/PCH/reloc.c

index 741970aa6c47d1949fe58ff3aabad86fc9c35602..1b6340b2af2897565c06a5b82479906c1c0768f4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -analyzer-checker=core,experimental.cplusplus.Iterators -verify %s
+// RUN: %clang --analyze -Xclang -analyzer-checker=core,experimental.cplusplus.Iterators -Xclang -verify %s
 // XFAIL: win32
 
 #include <vector>
index fd78feba604784dc1be3b378f3cf57c5404acacc..a772a824d45e42031b53b2d4ad32d329f74a29f4 100644 (file)
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -emit-pch -o %t -relocatable-pch -isysroot %S/libroot %S/libroot/usr/include/reloc.h
-// RUN: %clang_cc1 -include-pch %t -isysroot %S/libroot %s -verify
-// RUN: not %clang_cc1 -include-pch %t %s
+// RUN: %clang --relocatable-pch -o %t -isysroot %S/libroot %S/libroot/usr/include/reloc.h
+// RUN: %clang -fsyntax-only -include-pch %t -isysroot %S/libroot %s -Xclang -verify
+// RUN: not %clang -include-pch %t %s
 
 #include <reloc.h>