summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-16 19:35:48 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-16 19:35:48 +0000
commitb2633b9793174e3f9dc1e2d8a6eceb76b1726399 (patch)
treea238273f724973c80410de505bcd2dd0633f0da5 /clang/test/CodeGenCXX/ctor-dtor-alias.cpp
parent6b238633b77f8f18d4c3979a98ba2c77ce652cb1 (diff)
downloadbcm5719-llvm-b2633b9793174e3f9dc1e2d8a6eceb76b1726399.tar.gz
bcm5719-llvm-b2633b9793174e3f9dc1e2d8a6eceb76b1726399.zip
Update for llvm api change.
Now that llvm cannot represent alias cycles, we have to diagnose erros just before trying to close the cycle. This degrades the errors a bit. The real solution is what it was before: if we want to provide good errors for these cases, we have to be able to find a clang level decl given a mangled name and produce the error from Sema. llvm-svn: 209008
Diffstat (limited to 'clang/test/CodeGenCXX/ctor-dtor-alias.cpp')
-rw-r--r--clang/test/CodeGenCXX/ctor-dtor-alias.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/ctor-dtor-alias.cpp b/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
index d869a2bfd5d..87793119d06 100644
--- a/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
+++ b/clang/test/CodeGenCXX/ctor-dtor-alias.cpp
@@ -119,7 +119,7 @@ namespace test7 {
namespace test8 {
// Test that we replace ~zed with ~bar which is an alias to ~foo.
- // CHECK-DAG: call i32 @__cxa_atexit({{.*}}@_ZN5test83barD2Ev
+ // CHECK-DAG: call i32 @__cxa_atexit({{.*}}@_ZN5test83fooD2Ev
// CHECK-DAG: @_ZN5test83barD2Ev = alias {{.*}} @_ZN5test83fooD2Ev
struct foo {
~foo();
OpenPOWER on IntegriCloud