diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-12 16:07:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-12 16:07:11 +0000 |
commit | 34970697848274206ab8f4887a56de3fac513eda (patch) | |
tree | a5ce3a92bfd519ae60781f8d35b34af29cc621ae /clang/test/CodeGenCXX/virtual-function-calls.cpp | |
parent | 32cb5ac9041865aabd6d84ef410f52f07b309d1f (diff) | |
download | bcm5719-llvm-34970697848274206ab8f4887a56de3fac513eda.tar.gz bcm5719-llvm-34970697848274206ab8f4887a56de3fac513eda.zip |
Switch to the new MingW ABI.
GCC 4.7 changed the MingW ABI. On the clang side this means that methods now
have the thiscall calling convention by default.
llvm-svn: 197164
Diffstat (limited to 'clang/test/CodeGenCXX/virtual-function-calls.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/virtual-function-calls.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/virtual-function-calls.cpp b/clang/test/CodeGenCXX/virtual-function-calls.cpp index e1b380fe736..111d1a2193f 100644 --- a/clang/test/CodeGenCXX/virtual-function-calls.cpp +++ b/clang/test/CodeGenCXX/virtual-function-calls.cpp @@ -8,7 +8,7 @@ struct A { }; void f(A *a) { - // CHECK: call void % + // CHECK: call {{.*}}void % a->f('c'); } @@ -45,7 +45,7 @@ namespace VirtualNoreturn { // CHECK: @_ZN15VirtualNoreturn1f void f(A *p) { p->f(); - // CHECK: call void %{{[^#]*$}} + // CHECK: call {{.*}}void %{{[^#]*$}} // CHECK-NOT: unreachable } } |