summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/builtin-source-location.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2019-05-30 18:49:19 +0000
committerTim Northover <tnorthover@apple.com>2019-05-30 18:49:19 +0000
commitfcb00d4aec7de1f51292b65d660001f70b95f7b3 (patch)
tree9412e9e37e86409755aec72608a79b081fd8a9b9 /clang/test/CodeGenCXX/builtin-source-location.cpp
parentb7141207a483d39b99c2b4da4eb3bb591eca9e1a (diff)
downloadbcm5719-llvm-fcb00d4aec7de1f51292b65d660001f70b95f7b3.tar.gz
bcm5719-llvm-fcb00d4aec7de1f51292b65d660001f70b95f7b3.zip
Reapply: LLVM IR: update Clang tests for byval being a typed attribute.
Since byval is now a typed attribute it gets sorted slightly differently by LLVM when the order of attributes is being canonicalized. This updates the few Clang tests that depend on the old order. Clang patch is unchanged. llvm-svn: 362129
Diffstat (limited to 'clang/test/CodeGenCXX/builtin-source-location.cpp')
-rw-r--r--clang/test/CodeGenCXX/builtin-source-location.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/builtin-source-location.cpp b/clang/test/CodeGenCXX/builtin-source-location.cpp
index 6a8387093df..f8bfd7d940b 100644
--- a/clang/test/CodeGenCXX/builtin-source-location.cpp
+++ b/clang/test/CodeGenCXX/builtin-source-location.cpp
@@ -104,7 +104,7 @@ struct TestInit {
//
// CHECK-CTOR-GLOBAL: call void @_ZN15source_location7currentEjjPKcS1_(%struct.source_location* sret %[[TMP_ONE:[^,]*]],
// CHECK-CTOR-GLOBAL-SAME: i32 3400, i32 {{[0-9]+}}, {{[^@]*}}@[[FILE]], {{[^@]*}}@[[FUNC]],
-// CHECK-CTOR-GLOBAL-NEXT: call void @_ZN8TestInitC1E15source_location(%struct.TestInit* @GlobalInitVal, %struct.source_location* {{[^%]*}}%[[TMP_ONE]])
+// CHECK-CTOR-GLOBAL-NEXT: call void @_ZN8TestInitC1E15source_location(%struct.TestInit* @GlobalInitVal, %struct.source_location* {{.*}}%[[TMP_ONE]])
#line 3400 "GlobalInitVal.cpp"
TestInit GlobalInitVal;
@@ -119,7 +119,7 @@ extern "C" void test_init_function() {
//
// CHECK-CTOR-LOCAL: call void @_ZN15source_location7currentEjjPKcS1_(%struct.source_location* sret %[[TMP:[^,]*]],
// CHECK-CTOR-LOCAL-SAME: i32 3500, i32 {{[0-9]+}}, {{[^@]*}}@[[FILE]], {{[^@]*}}@[[FUNC]],
-// CHECK-CTOR-LOCAL-NEXT: call void @_ZN8TestInitC1E15source_location(%struct.TestInit* %init_local, %struct.source_location* {{[^%]*}}%[[TMP]])
+// CHECK-CTOR-LOCAL-NEXT: call void @_ZN8TestInitC1E15source_location(%struct.TestInit* %init_local, %struct.source_location* {{.*}}%[[TMP]])
#line 3500 "LocalInitVal.cpp"
TestInit init_local;
sink(init_local);
OpenPOWER on IntegriCloud