summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/parse-all-comments.c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2015-08-05 17:23:59 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2015-08-05 17:23:59 +0000
commit819f9ffe855029626040b1a09bdfefbf61cbd9a6 (patch)
tree5226c195265e7a196030a1afe23edd70d2878ed3 /clang/test/Index/parse-all-comments.c
parent9ade6a9a747c49383ac747bd8ffaa6a0beaef71c (diff)
downloadbcm5719-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/parse-all-comments.c')
-rw-r--r--clang/test/Index/parse-all-comments.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/parse-all-comments.c b/clang/test/Index/parse-all-comments.c
index 510a0afa638..66981e2b421 100644
--- a/clang/test/Index/parse-all-comments.c
+++ b/clang/test/Index/parse-all-comments.c
@@ -73,7 +73,7 @@ int trdoxyO;
// RUN: rm -rf %t
// RUN: mkdir %t
-// RUN: %clang_cc1 -fparse-all-comments -x c++ -std=c++11 -emit-pch -o %t/out.pch %s
+// RUN: c-index-test -write-pch %t/out.pch -fparse-all-comments -x c++ -std=c++11 %s
// RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s -std=c++11 -fparse-all-comments > %t/out.c-index-direct
// RUN: c-index-test -test-load-tu %t/out.pch all > %t/out.c-index-pch
OpenPOWER on IntegriCloud