aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-05-23 22:01:24 +0000
committerSteve Naroff <snaroff@apple.com>2008-05-23 22:01:24 +0000
commit218543b10e81ea2269ef6ae34d2d8ddbdec54dbe (patch)
tree80d91cf3076f2b27d046b160f22d6e317bca3d9b
parent8bf3b1d0e75da8b15bc331ebeb44f34b689f03ad (diff)
Minor tweak to -ast-dump for ivars.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51508 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/AST/StmtDumper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/StmtDumper.cpp b/lib/AST/StmtDumper.cpp
index 8621ba68f5..082d2a2259 100644
--- a/lib/AST/StmtDumper.cpp
+++ b/lib/AST/StmtDumper.cpp
@@ -301,6 +301,8 @@ void StmtDumper::VisitObjCIvarRefExpr(ObjCIvarRefExpr *Node) {
fprintf(F, " %sDecl='%s' %p", Node->getDecl()->getDeclKindName(),
Node->getDecl()->getName(), (void*)Node->getDecl());
+ if (Node->isFreeIvar())
+ fprintf(F, " isFreeIvar");
}
void StmtDumper::VisitPreDefinedExpr(PreDefinedExpr *Node) {