[cfe-commits] r51508 - /cfe/trunk/lib/AST/StmtDumper.cpp
Steve Naroff
snaroff at apple.com
Fri May 23 15:01:25 PDT 2008
Author: snaroff
Date: Fri May 23 17:01:24 2008
New Revision: 51508
URL: http://llvm.org/viewvc/llvm-project?rev=51508&view=rev
Log:
Minor tweak to -ast-dump for ivars.
Modified:
cfe/trunk/lib/AST/StmtDumper.cpp
Modified: cfe/trunk/lib/AST/StmtDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/StmtDumper.cpp?rev=51508&r1=51507&r2=51508&view=diff
==============================================================================
--- cfe/trunk/lib/AST/StmtDumper.cpp (original)
+++ cfe/trunk/lib/AST/StmtDumper.cpp Fri May 23 17:01:24 2008
@@ -301,6 +301,8 @@
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) {
More information about the cfe-commits
mailing list