From 173a4f43a911175643bda81ee675e8d9269056ea Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 24 Nov 2014 09:15:30 +0000 Subject: Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release): https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_350/final@216957 --- test/CodeGenCXX/vtable-key-function-arm.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'test/CodeGenCXX/vtable-key-function-arm.cpp') diff --git a/test/CodeGenCXX/vtable-key-function-arm.cpp b/test/CodeGenCXX/vtable-key-function-arm.cpp index 08efe8a..6f1265b 100644 --- a/test/CodeGenCXX/vtable-key-function-arm.cpp +++ b/test/CodeGenCXX/vtable-key-function-arm.cpp @@ -4,7 +4,7 @@ // The 'a' variants ask for the v-table first. // The 'b' variants ask for the v-table second. // The 'c' variants ask for the v-table third. -// We do a separate CHECK-LATE pass because the RTTI defintion gets +// We do a separate CHECK-LATE pass because the RTTI definition gets // changed after the fact, which causes reordering of the globals. // These are not separated into namespaces because the way that Sema @@ -91,7 +91,7 @@ struct Test2a { Test2a::Test2a() { use(typeid(Test2a)); } // CHECK: @_ZTV6Test2a = unnamed_addr constant // CHECK-LATE: @_ZTS6Test2a = constant -// CHECK-LATE: @_ZTI6Test2a = unnamed_addr constant +// CHECK-LATE: @_ZTI6Test2a = constant // 'bar' becomes the key function when 'foo' is defined inline. void Test2a::bar() {} @@ -112,7 +112,7 @@ void Test2b::bar() {} Test2b::Test2b() { use(typeid(Test2b)); } // CHECK: @_ZTV6Test2b = unnamed_addr constant // CHECK-LATE: @_ZTS6Test2b = constant -// CHECK-LATE: @_ZTI6Test2b = unnamed_addr constant +// CHECK-LATE: @_ZTI6Test2b = constant inline void Test2b::foo() {} @@ -132,7 +132,7 @@ inline void Test2c::foo() {} Test2c::Test2c() { use(typeid(Test2c)); } // CHECK: @_ZTV6Test2c = unnamed_addr constant // CHECK: @_ZTS6Test2c = constant -// CHECK: @_ZTI6Test2c = unnamed_addr constant +// CHECK: @_ZTI6Test2c = constant /*** Test3a ******************************************************************/ @@ -146,7 +146,7 @@ struct Test3a { Test3a::Test3a() { use(typeid(Test3a)); } // CHECK: @_ZTV6Test3a = linkonce_odr unnamed_addr constant // CHECK-LATE: @_ZTS6Test3a = linkonce_odr constant -// CHECK-LATE: @_ZTI6Test3a = linkonce_odr unnamed_addr constant +// CHECK-LATE: @_ZTI6Test3a = linkonce_odr constant // There ceases to be a key function after these declarations. inline void Test3a::bar() {} @@ -167,7 +167,7 @@ inline void Test3b::bar() {} Test3b::Test3b() { use(typeid(Test3b)); } // CHECK: @_ZTV6Test3b = linkonce_odr unnamed_addr constant // CHECK-LATE: @_ZTS6Test3b = linkonce_odr constant -// CHECK-LATE: @_ZTI6Test3b = linkonce_odr unnamed_addr constant +// CHECK-LATE: @_ZTI6Test3b = linkonce_odr constant inline void Test3b::foo() {} @@ -187,7 +187,7 @@ inline void Test3c::foo() {} Test3c::Test3c() { use(typeid(Test3c)); } // CHECK: @_ZTV6Test3c = linkonce_odr unnamed_addr constant // CHECK: @_ZTS6Test3c = linkonce_odr constant -// CHECK: @_ZTI6Test3c = linkonce_odr unnamed_addr constant +// CHECK: @_ZTI6Test3c = linkonce_odr constant /*** Test4a ******************************************************************/ @@ -201,7 +201,7 @@ template struct Test4a { template <> Test4a::Test4a() { use(typeid(Test4a)); } // CHECK: @_ZTV6Test4aIiE = linkonce_odr unnamed_addr constant // CHECK: @_ZTS6Test4aIiE = linkonce_odr constant -// CHECK: @_ZTI6Test4aIiE = linkonce_odr unnamed_addr constant +// CHECK: @_ZTI6Test4aIiE = linkonce_odr constant // There ceases to be a key function after these declarations. template <> inline void Test4a::bar() {} @@ -222,7 +222,7 @@ template <> inline void Test4b::bar() {} template <> Test4b::Test4b() { use(typeid(Test4b)); } // CHECK: @_ZTV6Test4bIiE = linkonce_odr unnamed_addr constant // CHECK: @_ZTS6Test4bIiE = linkonce_odr constant -// CHECK: @_ZTI6Test4bIiE = linkonce_odr unnamed_addr constant +// CHECK: @_ZTI6Test4bIiE = linkonce_odr constant template <> inline void Test4b::foo() {} @@ -242,7 +242,7 @@ template <> inline void Test4c::foo() {} template <> Test4c::Test4c() { use(typeid(Test4c)); } // CHECK: @_ZTV6Test4cIiE = linkonce_odr unnamed_addr constant // CHECK: @_ZTS6Test4cIiE = linkonce_odr constant -// CHECK: @_ZTI6Test4cIiE = linkonce_odr unnamed_addr constant +// CHECK: @_ZTI6Test4cIiE = linkonce_odr constant /*** Test5a ******************************************************************/ @@ -259,7 +259,7 @@ template <> inline void Test5a::foo(); template <> Test5a::Test5a() { use(typeid(Test5a)); } // CHECK: @_ZTV6Test5aIiE = linkonce_odr unnamed_addr constant // CHECK: @_ZTS6Test5aIiE = linkonce_odr constant -// CHECK: @_ZTI6Test5aIiE = linkonce_odr unnamed_addr constant +// CHECK: @_ZTI6Test5aIiE = linkonce_odr constant // There ceases to be a key function after these declarations. template <> inline void Test5a::bar() {} @@ -281,7 +281,7 @@ template <> inline void Test5b::bar() {} template <> Test5b::Test5b() { use(typeid(Test5b)); } // CHECK: @_ZTV6Test5bIiE = linkonce_odr unnamed_addr constant // CHECK: @_ZTS6Test5bIiE = linkonce_odr constant -// CHECK: @_ZTI6Test5bIiE = linkonce_odr unnamed_addr constant +// CHECK: @_ZTI6Test5bIiE = linkonce_odr constant template <> inline void Test5a::foo(); template <> inline void Test5b::foo() {} @@ -304,4 +304,4 @@ template <> inline void Test5c::foo() {} template <> Test5c::Test5c() { use(typeid(Test5c)); } // CHECK: @_ZTV6Test5cIiE = linkonce_odr unnamed_addr constant // CHECK: @_ZTS6Test5cIiE = linkonce_odr constant -// CHECK: @_ZTI6Test5cIiE = linkonce_odr unnamed_addr constant +// CHECK: @_ZTI6Test5cIiE = linkonce_odr constant -- cgit v1.1