diff options
author | Alexis Hunt <alercah@gmail.com> | 2010-05-05 15:23:54 +0000 |
---|---|---|
committer | Alexis Hunt <alercah@gmail.com> | 2010-05-05 15:23:54 +0000 |
commit | a8136cc40820f29cdd1a6fc84a75eeeba6737abc (patch) | |
tree | 63c08d22de15ae01a0582b263d70aee7cef145ec /clang/lib/AST/StmtPrinter.cpp | |
parent | ce84a2558c586c57e125785766a1d0918940bf31 (diff) | |
download | bcm5719-llvm-a8136cc40820f29cdd1a6fc84a75eeeba6737abc.tar.gz bcm5719-llvm-a8136cc40820f29cdd1a6fc84a75eeeba6737abc.zip |
Revert r103072; I accidentally ended up deleting a bunch of trailing
whitespace which makes this patch unreadable. Will recommit without the
whitespace.
llvm-svn: 103086
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r-- | clang/lib/AST/StmtPrinter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp index 7ea760d6640..52f627d449e 100644 --- a/clang/lib/AST/StmtPrinter.cpp +++ b/clang/lib/AST/StmtPrinter.cpp @@ -89,7 +89,7 @@ namespace { void VisitStmt(Stmt *Node); #define STMT(CLASS, PARENT) \ void Visit##CLASS(CLASS *Node); -#include "clang/AST/StmtNodes.inc" +#include "clang/AST/StmtNodes.def" }; } @@ -477,7 +477,7 @@ void StmtPrinter::VisitDeclRefExpr(DeclRefExpr *Node) { OS << TemplateSpecializationType::PrintTemplateArgumentList( Node->getTemplateArgs(), Node->getNumTemplateArgs(), - Policy); + Policy); } void StmtPrinter::VisitDependentScopeDeclRefExpr( @@ -727,12 +727,12 @@ void StmtPrinter::VisitOffsetOfExpr(OffsetOfExpr *Node) { IdentifierInfo *Id = ON.getFieldName(); if (!Id) continue; - + if (PrintedSomething) OS << "."; else PrintedSomething = true; - OS << Id->getName(); + OS << Id->getName(); } OS << ")"; } |