Skip to content

Commit c71ec93

Browse files
committed
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. ------------------------------------------------------------------------ llvm-svn: 143934
1 parent 1e38f1d commit c71ec93

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clang/test/Analysis/iterators.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -analyze -analyzer-checker=core,experimental.cplusplus.Iterators -verify %s
1+
// RUN: %clang --analyze -Xclang -analyzer-checker=core,experimental.cplusplus.Iterators -Xclang -verify %s
22
// XFAIL: win32
33

44
#include <vector>

clang/test/PCH/reloc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// RUN: %clang_cc1 -emit-pch -o %t -relocatable-pch -isysroot %S/libroot %S/libroot/usr/include/reloc.h
2-
// RUN: %clang_cc1 -include-pch %t -isysroot %S/libroot %s -verify
3-
// RUN: not %clang_cc1 -include-pch %t %s
1+
// RUN: %clang --relocatable-pch -o %t -isysroot %S/libroot %S/libroot/usr/include/reloc.h
2+
// RUN: %clang -fsyntax-only -include-pch %t -isysroot %S/libroot %s -Xclang -verify
3+
// RUN: not %clang -include-pch %t %s
44

55
#include <reloc.h>
66

0 commit comments

Comments
 (0)