[Sema] Silence buildbot failures introduced by r302935
authorSimon Dardis <simon.dardis@imgtec.com>
Fri, 12 May 2017 19:55:32 +0000 (19:55 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Fri, 12 May 2017 19:55:32 +0000 (19:55 +0000)
Attempt to silence buildbot failures by pinning the test to a given
triple rather than the host's triple.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302941 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/vector-gcc-compat.c
test/Sema/vector-gcc-compat.cpp

index b61f8ed20e504378e65bb3a245802d7f2aa2a2ec..9eb0569b25f01bed0a797ed66c09b506abdc184f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only -Weverything
+// RUN: %clang_cc1 %s -verify -fsyntax-only -Weverything -triple x86_64-apple-darwin10
 
 // Test the compatibility of clang's vector extensions with gcc's vector
 // extensions for C. Notably &&, ||, ?: and ! are not available.
index 9e9bd4d9050d660d7b6614a6ab1e658b4a191242..12da314c325ffb5e14e187aa020544a231758998 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only -Weverything -std=c++11
+// RUN: %clang_cc1 %s -verify -fsyntax-only -Weverything -std=c++11 -triple x86_64-apple-darwin10
 
 // Test the compatibility of clang++'s vector extensions with g++'s vector
 // extensions. In comparison to the extensions available in C, the !, ?:, && and