diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2015-08-05 17:23:59 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2015-08-05 17:23:59 +0000 |
commit | 819f9ffe855029626040b1a09bdfefbf61cbd9a6 (patch) | |
tree | 5226c195265e7a196030a1afe23edd70d2878ed3 /clang/test/Index/c-index-api-loadTU-test.m | |
parent | 9ade6a9a747c49383ac747bd8ffaa6a0beaef71c (diff) | |
download | bcm5719-llvm-819f9ffe855029626040b1a09bdfefbf61cbd9a6.tar.gz bcm5719-llvm-819f9ffe855029626040b1a09bdfefbf61cbd9a6.zip |
[test/Index] Update libclang tests to use libclang for creating PCH files.
This is consistent and tests the primary configuration we want to test, libclang
creating and consuming PCH files.
llvm-svn: 244066
Diffstat (limited to 'clang/test/Index/c-index-api-loadTU-test.m')
-rw-r--r-- | clang/test/Index/c-index-api-loadTU-test.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/c-index-api-loadTU-test.m b/clang/test/Index/c-index-api-loadTU-test.m index cbd742b240b..83ef6e83138 100644 --- a/clang/test/Index/c-index-api-loadTU-test.m +++ b/clang/test/Index/c-index-api-loadTU-test.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -emit-pch -x objective-c %s -o %t.ast +// RUN: c-index-test -write-pch %t.ast -Xclang -triple -Xclang x86_64-apple-darwin10 -fblocks -x objective-c %s // RUN: c-index-test -test-load-tu %t.ast all > %t 2>&1 && FileCheck --input-file=%t %s // REQUIRES: x86-registered-target @interface Foo |