From c680a85670587af4ba9034d206f34c7a6e70d8d2 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sat, 25 Feb 2017 18:55:32 +0000 Subject: [PATCH] [test] Use cc1 -triple for test/Index/pch-from-libclang.c. Note quite sure why driver -target has no effect. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296265 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Index/pch-from-libclang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Index/pch-from-libclang.c b/test/Index/pch-from-libclang.c index 84d298e1df..c944cd69c0 100644 --- a/test/Index/pch-from-libclang.c +++ b/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 -- 2.50.1