summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-11-07 10:20:49 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-11-07 10:20:49 +0000
commitbbf4c0589ad6f2d7b87b09192a5338da568f9813 (patch)
tree80a64e954e5641ecfe557dde3120ede889034194
parent883b8ce90248e2c5a0bb4718889857df2905c392 (diff)
Merging r143805:
------------------------------------------------------------------------ r143805 | chandlerc | 2011-11-05 03:15:30 -0700 (Sat, 05 Nov 2011) | 4 lines Switch these two tests to use the Clang driver instead of CC1. They want 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/branches/release_30@143934 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/iterators.cpp2
-rw-r--r--test/PCH/reloc.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/Analysis/iterators.cpp b/test/Analysis/iterators.cpp
index 741970aa6c..1b6340b2af 100644
--- a/test/Analysis/iterators.cpp
+++ b/test/Analysis/iterators.cpp
@@ -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>
diff --git a/test/PCH/reloc.c b/test/PCH/reloc.c
index fd78feba60..a772a824d4 100644
--- a/test/PCH/reloc.c
+++ b/test/PCH/reloc.c
@@ -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>