[clang] c00516d - Try to fix tests on Windows after 0cbf61be8be

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 3 07:55:18 PST 2020


Author: Nico Weber
Date: 2020-12-03T10:55:05-05:00
New Revision: c00516d52054e31179ce921a35a3815032feed0f

URL: https://github.com/llvm/llvm-project/commit/c00516d52054e31179ce921a35a3815032feed0f
DIFF: https://github.com/llvm/llvm-project/commit/c00516d52054e31179ce921a35a3815032feed0f.diff

LOG: Try to fix tests on Windows after 0cbf61be8be

Added: 
    

Modified: 
    clang/test/CodeGenCXX/weak-extern-typeinfo.cpp
    clang/test/SemaCXX/typeid-ref.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenCXX/weak-extern-typeinfo.cpp b/clang/test/CodeGenCXX/weak-extern-typeinfo.cpp
index 7f93c7297227..db94aed9c8c8 100644
--- a/clang/test/CodeGenCXX/weak-extern-typeinfo.cpp
+++ b/clang/test/CodeGenCXX/weak-extern-typeinfo.cpp
@@ -31,17 +31,17 @@ class V2 : public virtual V1 {
 void V1::foo() { }
 void V2::foo() { }
 
-// CHECK: @_ZTS1A = weak_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTI1A = weak_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTS1B = weak_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTI1B = weak_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTS1C = weak_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTS2T1 = linkonce_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTI2T1 = linkonce_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTS1T = linkonce_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTI1T = linkonce_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTI1C = weak_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTS2V1 = weak_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTI2V1 = weak_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTS2V2 = weak_odr {{(dso_local|hidden )?}}constant
-// CHECK: @_ZTI2V2 = weak_odr {{(dso_local|hidden )?}}constant
+// CHECK: @_ZTS1A = weak_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTI1A = weak_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTS1B = weak_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTI1B = weak_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTS1C = weak_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTS2T1 = linkonce_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTI2T1 = linkonce_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTS1T = linkonce_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTI1T = linkonce_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTI1C = weak_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTS2V1 = weak_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTI2V1 = weak_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTS2V2 = weak_odr {{(dso_local |hidden )?}}constant
+// CHECK: @_ZTI2V2 = weak_odr {{(dso_local |hidden )?}}constant

diff  --git a/clang/test/SemaCXX/typeid-ref.cpp b/clang/test/SemaCXX/typeid-ref.cpp
index 5a917df8ecf9..f788b04077ec 100644
--- a/clang/test/SemaCXX/typeid-ref.cpp
+++ b/clang/test/SemaCXX/typeid-ref.cpp
@@ -6,7 +6,7 @@ namespace std {
 struct X { };
 
 void f() {
-  // CHECK: @_ZTS1X = linkonce_odr {{(dso_local|hidden )?}}constant
-  // CHECK: @_ZTI1X = linkonce_odr {{(dso_local|hidden )?}}constant
+  // CHECK: @_ZTS1X = linkonce_odr {{(dso_local |hidden )?}}constant
+  // CHECK: @_ZTI1X = linkonce_odr {{(dso_local |hidden )?}}constant
   (void)typeid(X&);
 }


        


More information about the cfe-commits mailing list