Modified CFG pretty-printing to directly use the (reverse) body
iterator of a CompountStmt instead of relying on StmtIterators.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43469 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/CFG.cpp b/AST/CFG.cpp
index 42688e4..42f401b 100644
--- a/AST/CFG.cpp
+++ b/AST/CFG.cpp
@@ -1122,7 +1122,7 @@
       
       if (Sub->child_begin() != Sub->child_end()) {
         OS << "({ ... ; ";
-        Helper->handledStmt(*SE->getSubStmt()->child_rbegin(),OS);
+        Helper->handledStmt(*SE->getSubStmt()->body_rbegin(),OS);
         OS << " })\n";
         return;
       }