]> granicus.if.org Git - clang/commitdiff
Fix Sema tests using __try by adding triple
authorReid Kleckner <reid@kleckner.net>
Tue, 28 Apr 2015 22:58:25 +0000 (22:58 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 28 Apr 2015 22:58:25 +0000 (22:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236057 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/__try.c
test/SemaCXX/__try.cpp
test/SemaCXX/scope-check.cpp

index 8be93ddaeebd0d38c958e7610ab6df612585e016..cfb47e61d4ca016e64e0adde1ff2c38dc98ef2c2 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -fborland-extensions -DBORLAND -fsyntax-only -verify -fblocks %s
-// RUN: %clang_cc1 -fms-extensions -fsyntax-only -verify -fblocks %s
+// RUN: %clang_cc1 -triple x86_64-windows -fborland-extensions -DBORLAND -fsyntax-only -verify -fblocks %s
+// RUN: %clang_cc1 -triple x86_64-windows -fms-extensions -fsyntax-only -verify -fblocks %s
 
 #define JOIN2(x,y) x ## y
 #define JOIN(x,y) JOIN2(x,y)
index 28a37014887858e1eab6662a2d145fc7ec85d4d4..eb4612f508d373384ba5a4693c6a12c8fa6a7073 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -fborland-extensions -fcxx-exceptions %s
+// RUN: %clang_cc1 -triple x86_64-windows -fsyntax-only -verify -fborland-extensions -fcxx-exceptions %s
 
 // This test is from http://docwiki.embarcadero.com/RADStudio/en/Try
 
index 1d2893c7e004a00ab8e81010c6af4ca8835c5d08..9e0033298527690884a335e9f8b9df60a3e08a89 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -fcxx-exceptions -fms-extensions %s -Wno-unreachable-code
-// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -fcxx-exceptions -fms-extensions -std=gnu++11 %s -Wno-unreachable-code
+// RUN: %clang_cc1 -triple x86_64-windows -fsyntax-only -verify -fblocks -fcxx-exceptions -fms-extensions %s -Wno-unreachable-code
+// RUN: %clang_cc1 -triple x86_64-windows -fsyntax-only -verify -fblocks -fcxx-exceptions -fms-extensions -std=gnu++11 %s -Wno-unreachable-code
 
 namespace testInvalid {
 Invalid inv; // expected-error {{unknown type name}}