Author: Puyan Lotfi Date: 2019-11-08T21:06:23-05:00 New Revision: 1257146eb41485e91cb13a6b0ccc2fb7faa68b75
URL: https://github.com/llvm/llvm-project/commit/1257146eb41485e91cb13a6b0ccc2fb7faa68b75 DIFF: https://github.com/llvm/llvm-project/commit/1257146eb41485e91cb13a6b0ccc2fb7faa68b75.diff LOG: [clang][IFS][test] Fixing buildbot test fails for clang-ifs. Checking for the exact triple fails on many bots. Leaving the triple check blank. Added: Modified: clang/test/InterfaceStubs/class-template-partial-specialization.cpp clang/test/InterfaceStubs/cxx-conversion.cpp clang/test/InterfaceStubs/indirect-field-decl.cpp clang/test/InterfaceStubs/namespace.cpp clang/test/InterfaceStubs/non-type-template-parm-decl.cpp clang/test/InterfaceStubs/template-constexpr.cpp clang/test/InterfaceStubs/template-template-parm-decl.cpp clang/test/InterfaceStubs/usings.cpp Removed: ################################################################################ diff --git a/clang/test/InterfaceStubs/class-template-partial-specialization.cpp b/clang/test/InterfaceStubs/class-template-partial-specialization.cpp index ae6e7bf2458a..01734294abdd 100644 --- a/clang/test/InterfaceStubs/class-template-partial-specialization.cpp +++ b/clang/test/InterfaceStubs/class-template-partial-specialization.cpp @@ -2,10 +2,10 @@ // CHECK: --- !experimental-ifs-v1 // CHECK-NEXT: IfsVersion: 1.0 -// CHECK-NEXT: Triple: x86_64-unknown-linux-gnu +// CHECK-NEXT: Triple: // CHECK-NEXT: ObjectFileFormat: ELF // CHECK-NEXT: Symbols: // CHECK-NEXT: ... template<typename> struct S7 { }; -template<typename T> struct S7<T&> { }; \ No newline at end of file +template<typename T> struct S7<T&> { }; diff --git a/clang/test/InterfaceStubs/cxx-conversion.cpp b/clang/test/InterfaceStubs/cxx-conversion.cpp index e1f7b569d59b..70496ce8305e 100644 --- a/clang/test/InterfaceStubs/cxx-conversion.cpp +++ b/clang/test/InterfaceStubs/cxx-conversion.cpp @@ -2,7 +2,7 @@ // CHECK: --- !experimental-ifs-v1 // CHECK-NEXT: IfsVersion: 1.0 -// CHECK-NEXT: Triple: x86_64-unknown-linux-gnu +// CHECK-NEXT: Triple: // CHECK-NEXT: ObjectFileFormat: ELF // CHECK-NEXT: Symbols: // CHECK-NEXT: ... @@ -10,4 +10,4 @@ template<typename T> class C1 { long a; operator long() const { return a; } -}; \ No newline at end of file +}; diff --git a/clang/test/InterfaceStubs/indirect-field-decl.cpp b/clang/test/InterfaceStubs/indirect-field-decl.cpp index 4bad17d70b50..5331a952645e 100644 --- a/clang/test/InterfaceStubs/indirect-field-decl.cpp +++ b/clang/test/InterfaceStubs/indirect-field-decl.cpp @@ -2,9 +2,9 @@ // CHECK: --- !experimental-ifs-v1 // CHECK-NEXT: IfsVersion: 1.0 -// CHECK-NEXT: Triple: x86_64-unknown-linux-gnu +// CHECK-NEXT: Triple: // CHECK-NEXT: ObjectFileFormat: ELF // CHECK-NEXT: Symbols: // CHECK-NEXT: ... -template<typename T> class C2 { union { T c; }; }; \ No newline at end of file +template<typename T> class C2 { union { T c; }; }; diff --git a/clang/test/InterfaceStubs/namespace.cpp b/clang/test/InterfaceStubs/namespace.cpp index c0891a33df41..99ebadfa59ee 100644 --- a/clang/test/InterfaceStubs/namespace.cpp +++ b/clang/test/InterfaceStubs/namespace.cpp @@ -2,10 +2,10 @@ // CHECK: --- !experimental-ifs-v1 // CHECK-NEXT: IfsVersion: 1.0 -// CHECK-NEXT: Triple: x86_64-unknown-linux-gnu +// CHECK-NEXT: Triple: // CHECK-NEXT: ObjectFileFormat: ELF // CHECK-NEXT: Symbols: // CHECK-NEXT: ... namespace NS1 { } -using namespace NS1; \ No newline at end of file +using namespace NS1; diff --git a/clang/test/InterfaceStubs/non-type-template-parm-decl.cpp b/clang/test/InterfaceStubs/non-type-template-parm-decl.cpp index c0bfeb90454a..4d3f4d7ced8b 100644 --- a/clang/test/InterfaceStubs/non-type-template-parm-decl.cpp +++ b/clang/test/InterfaceStubs/non-type-template-parm-decl.cpp @@ -2,9 +2,9 @@ // CHECK: --- !experimental-ifs-v1 // CHECK-NEXT: IfsVersion: 1.0 -// CHECK-NEXT: Triple: x86_64-unknown-linux-gnu +// CHECK-NEXT: Triple: // CHECK-NEXT: ObjectFileFormat: ELF // CHECK-NEXT: Symbols: // CHECK-NEXT: ... -template<bool T> struct S1 {}; \ No newline at end of file +template<bool T> struct S1 {}; diff --git a/clang/test/InterfaceStubs/template-constexpr.cpp b/clang/test/InterfaceStubs/template-constexpr.cpp index 770a307b8b34..25d67d378c73 100644 --- a/clang/test/InterfaceStubs/template-constexpr.cpp +++ b/clang/test/InterfaceStubs/template-constexpr.cpp @@ -2,10 +2,10 @@ // CHECK: --- !experimental-ifs-v1 // CHECK-NEXT: IfsVersion: 1.0 -// CHECK-NEXT: Triple: x86_64-unknown-linux-gnu +// CHECK-NEXT: Triple: // CHECK-NEXT: ObjectFileFormat: ELF // CHECK-NEXT: Symbols: // CHECK-NEXT: ... template<typename T, T v> struct S8 { static constexpr T value = v; }; -template<typename T, T v> constexpr T S8<T, v>::value; \ No newline at end of file +template<typename T, T v> constexpr T S8<T, v>::value; diff --git a/clang/test/InterfaceStubs/template-template-parm-decl.cpp b/clang/test/InterfaceStubs/template-template-parm-decl.cpp index d9edf6b0296d..b09d732ea4cd 100644 --- a/clang/test/InterfaceStubs/template-template-parm-decl.cpp +++ b/clang/test/InterfaceStubs/template-template-parm-decl.cpp @@ -2,9 +2,9 @@ // CHECK: --- !experimental-ifs-v1 // CHECK-NEXT: IfsVersion: 1.0 -// CHECK-NEXT: Triple: x86_64-unknown-linux-gnu +// CHECK-NEXT: Triple: // CHECK-NEXT: ObjectFileFormat: ELF // CHECK-NEXT: Symbols: // CHECK-NEXT: ... -template<template<typename...> class a> struct S6 { }; \ No newline at end of file +template<template<typename...> class a> struct S6 { }; diff --git a/clang/test/InterfaceStubs/usings.cpp b/clang/test/InterfaceStubs/usings.cpp index 3c49fa3f3fb1..c6057a1dd339 100644 --- a/clang/test/InterfaceStubs/usings.cpp +++ b/clang/test/InterfaceStubs/usings.cpp @@ -2,7 +2,7 @@ // CHECK: --- !experimental-ifs-v1 // CHECK-NEXT: IfsVersion: 1.0 -// CHECK-NEXT: Triple: x86_64-unknown-linux-gnu +// CHECK-NEXT: Triple: // CHECK-NEXT: ObjectFileFormat: ELF // CHECK-NEXT: Symbols: // CHECK-NEXT: ... @@ -14,4 +14,4 @@ typedef struct {} S4; using ::S4; template<typename T, T t> struct C3{}; -template<bool b> using U1 = C3<bool, b>; \ No newline at end of file +template<bool b> using U1 = C3<bool, b>; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits