From 129d92478d9747fc7a1bb498efb089badf7cee69 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sat, 5 Nov 2011 10:15:30 +0000 Subject: [PATCH] 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/trunk@143805 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Analysis/iterators.cpp | 2 +- test/PCH/reloc.c | 6 +++--- 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 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 -- 2.50.1