[llvm-branch-commits] [cfe-branch] r143934 - in /cfe/branches/release_30: ./ test/Analysis/iterators.cpp test/PCH/reloc.c

Chandler Carruth chandlerc at gmail.com
Mon Nov 7 02:20:49 PST 2011


Author: chandlerc
Date: Mon Nov  7 04:20:49 2011
New Revision: 143934

URL: http://llvm.org/viewvc/llvm-project?rev=143934&view=rev
Log:
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.
------------------------------------------------------------------------

Modified:
    cfe/branches/release_30/   (props changed)
    cfe/branches/release_30/test/Analysis/iterators.cpp
    cfe/branches/release_30/test/PCH/reloc.c

Propchange: cfe/branches/release_30/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Nov  7 04:20:49 2011
@@ -1,3 +1,3 @@
 /cfe/branches/type-system-rewrite:134693-134817
-/cfe/trunk:142113,142133-142134,142187,142349,142474,142476,142918,143344-143345,143684,143686-143687,143751-143752,143798,143801,143804
+/cfe/trunk:142113,142133-142134,142187,142349,142474,142476,142918,143344-143345,143684,143686-143687,143751-143752,143798,143801,143804-143805
 /cfe/trunk/test/SemaTemplate:126920

Modified: cfe/branches/release_30/test/Analysis/iterators.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_30/test/Analysis/iterators.cpp?rev=143934&r1=143933&r2=143934&view=diff
==============================================================================
--- cfe/branches/release_30/test/Analysis/iterators.cpp (original)
+++ cfe/branches/release_30/test/Analysis/iterators.cpp Mon Nov  7 04:20:49 2011
@@ -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>

Modified: cfe/branches/release_30/test/PCH/reloc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_30/test/PCH/reloc.c?rev=143934&r1=143933&r2=143934&view=diff
==============================================================================
--- cfe/branches/release_30/test/PCH/reloc.c (original)
+++ cfe/branches/release_30/test/PCH/reloc.c Mon Nov  7 04:20:49 2011
@@ -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>
 





More information about the llvm-branch-commits mailing list