diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-01-23 04:41:06 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-01-23 04:41:06 +0000 |
commit | 49e453fe2443df104cdd235ab4426b0385707e6e (patch) | |
tree | a8ddaf32bb8e26347acbfb272bfa988809855b53 /clang/test/CodeGenCXX/instr-profile-class.cpp | |
parent | ddf1966cc321494c40f7b710753e996180ea8376 (diff) | |
download | bcm5719-llvm-49e453fe2443df104cdd235ab4426b0385707e6e.tar.gz bcm5719-llvm-49e453fe2443df104cdd235ab4426b0385707e6e.zip |
test/CodeGenCXX: Be less strict about return types
Some ABIs have different return types for constructors and
destructors, and we're just looking for the end of the function
here. Loosen up the regex.
llvm-svn: 199870
Diffstat (limited to 'clang/test/CodeGenCXX/instr-profile-class.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/instr-profile-class.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGenCXX/instr-profile-class.cpp b/clang/test/CodeGenCXX/instr-profile-class.cpp index d731e1a675a..d7b4499d26d 100644 --- a/clang/test/CodeGenCXX/instr-profile-class.cpp +++ b/clang/test/CodeGenCXX/instr-profile-class.cpp @@ -29,7 +29,7 @@ public: if (Member) {} // CTRGEN-NOT: store {{.*}} @[[SCC]], // CTRUSE-NOT: br {{.*}} !prof ![0-9]+ - // CTRUSE: ret void + // CTRUSE: ret } // CTRUSE: ![[SC1]] = metadata !{metadata !"branch_weights", i32 100, i32 2} @@ -42,7 +42,7 @@ public: if (Member) {} // DTRGEN-NOT: store {{.*}} @[[SDC]], // DTRUSE-NOT: br {{.*}} !prof ![0-9]+ - // DTRUSE: ret void + // DTRUSE: ret } // DTRUSE: ![[SD1]] = metadata !{metadata !"branch_weights", i32 100, i32 2} @@ -55,7 +55,7 @@ public: if (Member) {} // MTHGEN-NOT: store {{.*}} @[[SMC]], // MTHUSE-NOT: br {{.*}} !prof ![0-9]+ - // MTHUSE: ret void + // MTHUSE: ret } // MTHUSE: ![[SM1]] = metadata !{metadata !"branch_weights", i32 100, i32 2} }; @@ -72,7 +72,7 @@ void simple_wrapper() { } // WRPGEN-NOT: store {{.*}} @[[SWC]], // WRPUSE-NOT: br {{.*}} !prof ![0-9]+ - // WRPUSE: ret void + // WRPUSE: ret } // WRPUSE: ![[SW1]] = metadata !{metadata !"branch_weights", i32 100, i32 2} |