Update tests to new clang output.

This commit is contained in:
Axel Naumann 2014-03-03 19:05:37 +01:00 committed by sftnight
parent 5294658610
commit e784149c9b
2 changed files with 3 additions and 3 deletions

View File

@ -1084,7 +1084,7 @@ const clang::FunctionDecl* func_B_dtr_proto = lookup.findFunctionProto(class_B,
dumpDecl("func_B_dtr_args", func_B_dtr_args);
//CHECK: func_B_dtr_args: 0x{{[1-9a-f][0-9a-f]*$}}
//CHECK-NEXT: func_B_dtr_args name: B::~B
//CHECK-NEXT: virtual void ~B() {
//CHECK-NEXT: virtual ~B() {
//CHECK-NEXT: delete this->m_B_ip;
//CHECK-NEXT: this->m_B_ip = 0;
//CHECK-NEXT: }
@ -1092,7 +1092,7 @@ dumpDecl("func_B_dtr_args", func_B_dtr_args);
dumpDecl("func_B_dtr_proto", func_B_dtr_proto);
//CHECK: func_B_dtr_proto: 0x{{[1-9a-f][0-9a-f]*$}}
//CHECK-NEXT: func_B_dtr_proto name: B::~B
//CHECK-NEXT: virtual void ~B() {
//CHECK-NEXT: virtual ~B() {
//CHECK-NEXT: delete this->m_B_ip;
//CHECK-NEXT: this->m_B_ip = 0;
//CHECK-NEXT: }

View File

@ -157,7 +157,7 @@ lookup.findScope("InsideAnonymous", diags, &t);
QT = clang::QualType(t, 0);
//QT.getAsString().c_str()c
Transform::GetPartiallyDesugaredType(Ctx, QT, transConfig).getAsString().c_str()
// CHECK: ({{const char [*]|const_pointer}}) "class <anonymous>::InsideAnonymous"
// CHECK: ({{const char [*]|const_pointer}}) "class <anonymous namespace>::InsideAnonymous"
// The above result is not quite want we want, so the client must using
// the following: