diff options
author | Tim Northover <tnorthover@apple.com> | 2019-05-29 19:13:29 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2019-05-29 19:13:29 +0000 |
commit | 45e8cc6639e9d7dbc900ed35fdfe46c02c4eb298 (patch) | |
tree | 60e26b399c26fe71793935883223bcfa4b8b3c39 /clang/test/CodeGenCXX/builtin-source-location.cpp | |
parent | 6e07f16fae605c42014aa4f1f2babf3e7767c95c (diff) | |
download | bcm5719-llvm-45e8cc6639e9d7dbc900ed35fdfe46c02c4eb298.tar.gz bcm5719-llvm-45e8cc6639e9d7dbc900ed35fdfe46c02c4eb298.zip |
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.
llvm-svn: 362013
Diffstat (limited to 'clang/test/CodeGenCXX/builtin-source-location.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/builtin-source-location.cpp | 4 |
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); |