diff --git a/clang/test/Sema/fn-ptr-as-fn-prototype.c b/clang/test/Sema/fn-ptr-as-fn-prototype.c index 4b01b1316e10..0422f2b86ea9 100644 --- a/clang/test/Sema/fn-ptr-as-fn-prototype.c +++ b/clang/test/Sema/fn-ptr-as-fn-prototype.c @@ -7,7 +7,7 @@ // CHECK: typedef void (*g)(); typedef void (*g) (); -// CHECK: enum { +// CHECK: enum enum { k = -1 }; diff --git a/clang/test/Sema/function-redecl.c b/clang/test/Sema/function-redecl.c index 561f7fae6b90..eb6e78595ae5 100644 --- a/clang/test/Sema/function-redecl.c +++ b/clang/test/Sema/function-redecl.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -fsyntax-only -verify %s // PR3588 void g0(int, int); diff --git a/clang/test/Sema/inline.c b/clang/test/Sema/inline.c index 8a3835b71ada..eced058f8ddc 100644 --- a/clang/test/Sema/inline.c +++ b/clang/test/Sema/inline.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -fsyntax-only -verify %s #if defined(INCLUDE) // ------- diff --git a/clang/test/Sema/short-enums.c b/clang/test/Sema/short-enums.c index 9bf0064646a7..464b09ee1054 100644 --- a/clang/test/Sema/short-enums.c +++ b/clang/test/Sema/short-enums.c @@ -1,5 +1,5 @@ // RUN: not %clang_cc1 -fsyntax-only %s -verify -// RUN: %clang_cc1 -fshort-enums -fsyntax-only %s -verify +// RUN: %clang_cc1 -triple %itanium_abi_triple -fshort-enums -fsyntax-only %s -verify // expected-no-diagnostics enum x { A }; diff --git a/clang/test/SemaCXX/ast-print.cpp b/clang/test/SemaCXX/ast-print.cpp index 059804c81a9a..39a52ab8d7e8 100644 --- a/clang/test/SemaCXX/ast-print.cpp +++ b/clang/test/SemaCXX/ast-print.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -ast-print %s -std=gnu++11 | FileCheck %s +// RUN: %clang_cc1 -triple %ms_abi_triple -ast-print %s -std=gnu++11 | FileCheck %s // CHECK: r; // CHECK-NEXT: (r->method()); @@ -66,7 +66,7 @@ template void test7() template void test8(T t) { t.~T(); } -// CHECK: enum E { +// CHECK: enum E // CHECK-NEXT: A, // CHECK-NEXT: B, // CHECK-NEXT: C diff --git a/clang/test/SemaCXX/conversion-function.cpp b/clang/test/SemaCXX/conversion-function.cpp index 077e4d9f3cce..649f6b4dce94 100644 --- a/clang/test/SemaCXX/conversion-function.cpp +++ b/clang/test/SemaCXX/conversion-function.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -Wbind-to-temporary-copy -verify %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -fsyntax-only -Wbind-to-temporary-copy -verify %s class X { public: operator bool(); diff --git a/clang/test/SemaCXX/cxx1y-generic-lambdas.cpp b/clang/test/SemaCXX/cxx1y-generic-lambdas.cpp index c937c6728c2b..3774e8d3834b 100644 --- a/clang/test/SemaCXX/cxx1y-generic-lambdas.cpp +++ b/clang/test/SemaCXX/cxx1y-generic-lambdas.cpp @@ -859,7 +859,7 @@ namespace ns1 { struct X1 { struct X2 { enum { E = [](auto i) { return i; }(3) }; //expected-error{{inside of a constant expression}}\ - //expected-error{{not an integral constant}}\ + //expected-error{{constant}}\ //expected-note{{non-literal type}} int L = ([] (int i) { return i; })(2); void foo(int i = ([] (int i) { return i; })(2)) { } diff --git a/clang/test/SemaCXX/overload-call.cpp b/clang/test/SemaCXX/overload-call.cpp index 19ce14481f8e..7c6fe2b7e4e9 100644 --- a/clang/test/SemaCXX/overload-call.cpp +++ b/clang/test/SemaCXX/overload-call.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -pedantic -verify %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -pedantic -verify %s int* f(int) { return 0; } float* f(float) { return 0; } void f(); diff --git a/clang/test/SemaCXX/underlying_type.cpp b/clang/test/SemaCXX/underlying_type.cpp index 2a972b174e86..61208c72af04 100644 --- a/clang/test/SemaCXX/underlying_type.cpp +++ b/clang/test/SemaCXX/underlying_type.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -ffreestanding -fsyntax-only -verify -std=c++11 %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -ffreestanding -fsyntax-only -verify -std=c++11 %s #include "limits.h" diff --git a/clang/test/SemaCXX/warn-sign-conversion.cpp b/clang/test/SemaCXX/warn-sign-conversion.cpp index 746b1242fe1b..dcfb95b6b57d 100644 --- a/clang/test/SemaCXX/warn-sign-conversion.cpp +++ b/clang/test/SemaCXX/warn-sign-conversion.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -verify -fsyntax-only -Wsign-conversion %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -verify -fsyntax-only -Wsign-conversion %s // NOTE: When a 'enumeral mismatch' warning is implemented then expect several // of the following cases to be impacted. diff --git a/clang/test/SemaObjC/blocks.m b/clang/test/SemaObjC/blocks.m index d6681d051de1..e26fb3c0cd3f 100644 --- a/clang/test/SemaObjC/blocks.m +++ b/clang/test/SemaObjC/blocks.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -fsyntax-only -verify -fblocks %s #define bool _Bool @protocol NSObject; diff --git a/clang/test/SemaObjC/default-synthesize-1.m b/clang/test/SemaObjC/default-synthesize-1.m index 731aa863e103..aa92e4a3ffcd 100644 --- a/clang/test/SemaObjC/default-synthesize-1.m +++ b/clang/test/SemaObjC/default-synthesize-1.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -Wobjc-missing-property-synthesis -verify -Wno-objc-root-class %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -fsyntax-only -Wobjc-missing-property-synthesis -verify -Wno-objc-root-class %s // rdar://11295716 @interface NSObject diff --git a/clang/test/SemaTemplate/instantiate-local-class.cpp b/clang/test/SemaTemplate/instantiate-local-class.cpp index c0ea6a0bc870..7fdc6ce0c28e 100644 --- a/clang/test/SemaTemplate/instantiate-local-class.cpp +++ b/clang/test/SemaTemplate/instantiate-local-class.cpp @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -verify -std=c++11 %s -// RUN: %clang_cc1 -verify -std=c++11 -fdelayed-template-parsing %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -verify -std=c++11 %s +// RUN: %clang_cc1 -triple %itanium_abi_triple -verify -std=c++11 -fdelayed-template-parsing %s template void f0() {