summaryrefslogtreecommitdiffstats
path: root/test/Sema/carbon.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-04-01 05:09:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-04-01 05:09:09 +0000
commit0b5b0da1580a5e4aca7605d31abf3c066838670c (patch)
tree6def25c9779657ce14add9a38f2704dd28e7c7d5 /test/Sema/carbon.c
parent59eb5f9856d0947e99ef138fe94da4736f16f6fd (diff)
Pull clang-cc code for generating PTH files based on the input type.
- <rdar://problem/6741594> [pth] don't abuse -x to drive pth generation - Simpler, and fixes PR3915. Cleanup test cases for PTH: - Update to use -emit-pth - Removed PTH test of carbon.c and cocoa.mm; these didn't actually verify anything, and since PTH is token based the extra coverage (over cocoa.m) isn't particularly helpful. - Split PTH tests in cocoa.m to cocoa-pth.m, solely to increase available parallelism when running tests. Ted, could you update the PTH test cases (include-pth.c and cocoa-pth.m) to have some sort of positive check that the PTH is getting used? "# of PTH cache hits" or "tokens read from PTH cache" statistics would work great. :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68189 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/carbon.c')
-rw-r--r--test/Sema/carbon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Sema/carbon.c b/test/Sema/carbon.c
index edb4d9729b..983a000b2c 100644
--- a/test/Sema/carbon.c
+++ b/test/Sema/carbon.c
@@ -1,5 +1,4 @@
-// RUN: clang-cc %s -fsyntax-only -print-stats &&
-// RUN: clang-cc -x c-header -o %t %s && clang-cc -token-cache %t %s
+// RUN: clang-cc %s -fsyntax-only -print-stats
#ifdef __APPLE__
#include <Carbon/Carbon.h>
#endif