summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/CFG.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-02-26 08:00:25 +0000
committerMike Stump <mrs@apple.com>2009-02-26 08:00:25 +0000
commitd8ba7a2cdf9b2ea95fee06069af8603bf76ef663 (patch)
treea6eef5e489f720e307526842961a680e18dc8de7 /clang/lib/AST/CFG.cpp
parent5eb3773b99080d4af8d73dfdbaa4293bb3497e6f (diff)
downloadbcm5719-llvm-d8ba7a2cdf9b2ea95fee06069af8603bf76ef663.tar.gz
bcm5719-llvm-d8ba7a2cdf9b2ea95fee06069af8603bf76ef663.zip
Fixup spacing.
llvm-svn: 65519
Diffstat (limited to 'clang/lib/AST/CFG.cpp')
-rw-r--r--clang/lib/AST/CFG.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/AST/CFG.cpp b/clang/lib/AST/CFG.cpp
index e08a00b8a5e..3bfac7fbdcd 100644
--- a/clang/lib/AST/CFG.cpp
+++ b/clang/lib/AST/CFG.cpp
@@ -492,7 +492,7 @@ CFGBlock* CFGBuilder::WalkAST_VisitDeclSubExpr(Decl* D) {
Expr* Init = VD->getInit();
if (Init) {
- // Optimization: Don't create separate block-level statements for literals.
+ // Optimization: Don't create separate block-level statements for literals.
switch (Init->getStmtClass()) {
case Stmt::IntegerLiteralClass:
case Stmt::CharacterLiteralClass:
@@ -515,7 +515,8 @@ CFGBlock* CFGBuilder::WalkAST_VisitDeclSubExpr(Decl* D) {
/// children of a Stmt.
CFGBlock* CFGBuilder::WalkAST_VisitChildren(Stmt* Terminator) {
CFGBlock* B = Block;
- for (Stmt::child_iterator I = Terminator->child_begin(), E = Terminator->child_end() ;
+ for (Stmt::child_iterator I = Terminator->child_begin(),
+ E = Terminator->child_end();
I != E; ++I)
if (*I) B = WalkAST(*I);
OpenPOWER on IntegriCloud