]> granicus.if.org Git - clang/commitdiff
Minor tweak to -ast-dump for ivars.
authorSteve Naroff <snaroff@apple.com>
Fri, 23 May 2008 22:01:24 +0000 (22:01 +0000)
committerSteve Naroff <snaroff@apple.com>
Fri, 23 May 2008 22:01:24 +0000 (22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51508 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/StmtDumper.cpp

index 8621ba68f56635d3cd14b314d47cdc3341aa7db9..082d2a2259571c1f97b5349ea88caa0aad158345 100644 (file)
@@ -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) {