From 819f9ffe855029626040b1a09bdfefbf61cbd9a6 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Wed, 5 Aug 2015 17:23:59 +0000 Subject: [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 --- clang/test/Index/c-index-api-loadTU-test.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Index/c-index-api-loadTU-test.m') 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 -- cgit v1.2.3