summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-12-04 21:15:23 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-12-04 21:15:23 +0000
commit1ace8cb994266d904d8ea3bb364869318c53fefc (patch)
tree1d0617daa684e63ee38ca8e025ded0b9be25bf14 /clang/lib/AST/StmtPrinter.cpp
parentf7798e34c94884cd4f5ec200e4126f3682857a7a (diff)
downloadbcm5719-llvm-1ace8cb994266d904d8ea3bb364869318c53fefc.tar.gz
bcm5719-llvm-1ace8cb994266d904d8ea3bb364869318c53fefc.zip
Testing C declarations embedded in
<declaration> tag of Comment XML and fixed a missing block literal printout as result of the testing. // rdar://12378714 llvm-svn: 169307
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r--clang/lib/AST/StmtPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp
index 5ed970bf7b8..ec90674e0c5 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -1838,6 +1838,7 @@ void StmtPrinter::VisitBlockExpr(BlockExpr *Node) {
}
OS << ')';
}
+ OS << "{ }";
}
void StmtPrinter::VisitOpaqueValueExpr(OpaqueValueExpr *Node) {
OpenPOWER on IntegriCloud