]> granicus.if.org Git - clang/commitdiff
Fix a couple of tests in clang/test to match "x86_thiscallcc" introduced in r240971.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 30 Jun 2015 08:02:26 +0000 (08:02 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 30 Jun 2015 08:02:26 +0000 (08:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241047 91177308-0d34-0410-b5e6-96231b3b80d8

test/Modules/cxx-irgen.cpp
test/Profile/cxx-lambda.cpp

index c72b4a5a93f56ceb66544086f74619e1df5b6151..7cdb0d6eb5950e4b7815d52a8aec1aef84bfa5ea 100644 (file)
@@ -12,7 +12,7 @@ CtorInit<int> x;
 
 // Keep these two namespace definitions separate; merging them hides the bug.
 namespace EmitInlineMethods {
-  // CHECK-DAG: define linkonce_odr [[CC:([a-z\_\d]*[ ]+)?]]void @_ZN17EmitInlineMethods1C1fEPNS_1AE(
+  // CHECK-DAG: define linkonce_odr [[CC:([0-9_a-z]*cc[ ]+)?]]void @_ZN17EmitInlineMethods1C1fEPNS_1AE(
   // CHECK-DAG: declare [[CC]]void @_ZN17EmitInlineMethods1A1gEv(
   struct C {
     __attribute__((used)) void f(A *p) { p->g(); }
index 8d1c6ef6481fe2c6379b5a6fe1f55b3a43dc41a6..a111f0663e3ef4ceae43c0fad877b34d603e9282 100644 (file)
@@ -19,8 +19,8 @@
 void lambdas() {
   int i = 1;
 
-  // LMBGEN-LABEL: define internal{{( [a-z\_\b]*)?( zeroext)?}} i1 @"_ZZ7lambdasvENK3$_0clEi"(
-  // LMBUSE-LABEL: define internal{{( [a-z\_\b]*)?( zeroext)?}} i1 @"_ZZ7lambdasvENK3$_0clEi"(
+  // LMBGEN-LABEL: define internal{{( [0-9_a-z]*cc)?( zeroext)?}} i1 @"_ZZ7lambdasvENK3$_0clEi"(
+  // LMBUSE-LABEL: define internal{{( [0-9_a-z]*cc)?( zeroext)?}} i1 @"_ZZ7lambdasvENK3$_0clEi"(
   // LMBGEN: store {{.*}} @[[LFC]], i64 0, i64 0
   auto f = [&i](int k) {
     // LMBGEN: store {{.*}} @[[LFC]], i64 0, i64 1