diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2017-02-25 18:55:32 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2017-02-25 18:55:32 +0000 |
commit | 30844025e9922296104397cc81b584c5ec75aeb2 (patch) | |
tree | affd44262e05403d2edb247670aa9b52e587e3ad | |
parent | d2011e3612323f0bddefc51fb4f6079a003cb637 (diff) | |
download | bcm5719-llvm-30844025e9922296104397cc81b584c5ec75aeb2.tar.gz bcm5719-llvm-30844025e9922296104397cc81b584c5ec75aeb2.zip |
[test] Use cc1 -triple for test/Index/pch-from-libclang.c.
Note quite sure why driver -target has no effect.
llvm-svn: 296265
-rw-r--r-- | clang/test/Index/pch-from-libclang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Index/pch-from-libclang.c b/clang/test/Index/pch-from-libclang.c index 84d298e1df5..c944cd69c02 100644 --- a/clang/test/Index/pch-from-libclang.c +++ b/clang/test/Index/pch-from-libclang.c @@ -1,6 +1,6 @@ // Check that clang can use a PCH created from libclang. -// RUN: c-index-test -write-pch %t.h.pch %s -fmodules -fmodules-cache-path=%t.mcp -target x86_64-apple-darwin -// RUN: %clang -fsyntax-only -include %t.h %s -Xclang -verify -fmodules -fmodules-cache-path=%t.mcp -Xclang -detailed-preprocessing-record -target x86_64-apple-darwin +// RUN: c-index-test -write-pch %t.h.pch %s -fmodules -fmodules-cache-path=%t.mcp -Xclang -triple -Xclang x86_64-apple-darwin +// RUN: %clang -fsyntax-only -include %t.h %s -Xclang -verify -fmodules -fmodules-cache-path=%t.mcp -Xclang -detailed-preprocessing-record -Xclang -triple -Xclang x86_64-apple-darwin // expected-no-diagnostics |