case Var: return "Var";
case ParmVar: return "ParmVar";
case EnumConstant: return "EnumConstant";
+ case ObjCIvar: return "ObjCIvar";
case ObjCInterface: return "ObjCInterface";
case ObjCClass: return "ObjCClass";
case ObjCMethod: return "ObjCMethod";
}
void StmtDumper::VisitObjCIvarRefExpr(ObjCIvarRefExpr *Node) {
- DumpExpr(Node->getBase());
+ DumpExpr(Node);
- fprintf(F, " ObjCIvarRefExpr");
- fprintf(F, "='%s' %p", Node->getDecl()->getName(), (void*)Node->getDecl());
+ fprintf(F, " %sDecl='%s' %p", Node->getDecl()->getDeclKindName(),
+ Node->getDecl()->getName(), (void*)Node->getDecl());
}
void StmtDumper::VisitPreDefinedExpr(PreDefinedExpr *Node) {