summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/TestClassDecl.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-08-13 05:36:37 +0000
committerDouglas Gregor <dgregor@apple.com>2010-08-13 05:36:37 +0000
commite93866800330987d31579ae2fb2a323ba46ffecf (patch)
treed1694e5a6171be6672aa217838df92177499fcb6 /clang/test/Index/TestClassDecl.m
parent568b7500febfd2da88edf36e9aa0c89a9a6be1e8 (diff)
downloadbcm5719-llvm-e93866800330987d31579ae2fb2a323ba46ffecf.tar.gz
bcm5719-llvm-e93866800330987d31579ae2fb2a323ba46ffecf.zip
Implement clang_saveTranslationUnit(), which saves a translation unit
into a PCH/AST file. llvm-svn: 111006
Diffstat (limited to 'clang/test/Index/TestClassDecl.m')
-rw-r--r--clang/test/Index/TestClassDecl.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/TestClassDecl.m b/clang/test/Index/TestClassDecl.m
index b55c8623a51..09a7d48cfdd 100644
--- a/clang/test/Index/TestClassDecl.m
+++ b/clang/test/Index/TestClassDecl.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast
+// RUN: c-index-test -write-pch %t.ast -fobjc-nonfragile-abi -fblocks -x objective-c %s
// RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=scan %s
// RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=load %s
OpenPOWER on IntegriCloud