зеркало из https://github.com/microsoft/clang-1.git
StmtDumper::VisitUnresolvedLookupExpr
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91163 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
1f7711d113
Коммит
9d5f35e112
|
@ -139,6 +139,7 @@ namespace {
|
|||
void VisitCXXConstructExpr(CXXConstructExpr *Node);
|
||||
void VisitCXXBindTemporaryExpr(CXXBindTemporaryExpr *Node);
|
||||
void VisitCXXExprWithTemporaries(CXXExprWithTemporaries *Node);
|
||||
void VisitUnresolvedLookupExpr(UnresolvedLookupExpr *Node);
|
||||
void DumpCXXTemporary(CXXTemporary *Temporary);
|
||||
|
||||
// ObjC
|
||||
|
@ -331,6 +332,19 @@ void StmtDumper::VisitDeclRefExpr(DeclRefExpr *Node) {
|
|||
<< "' " << (void*)Node->getDecl();
|
||||
}
|
||||
|
||||
void StmtDumper::VisitUnresolvedLookupExpr(UnresolvedLookupExpr *Node) {
|
||||
DumpExpr(Node);
|
||||
OS << " (";
|
||||
if (!Node->requiresADL()) OS << "no ";
|
||||
OS << "ADL) = '" << Node->getName().getAsString() << "'";
|
||||
|
||||
UnresolvedLookupExpr::decls_iterator
|
||||
I = Node->decls_begin(), E = Node->decls_end();
|
||||
if (I == E) OS << " empty";
|
||||
for (; I != E; ++I)
|
||||
OS << " " << (void*) *I;
|
||||
}
|
||||
|
||||
void StmtDumper::VisitObjCIvarRefExpr(ObjCIvarRefExpr *Node) {
|
||||
DumpExpr(Node);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче