diff options
Diffstat (limited to 'clang/lib/Analysis/CFG.cpp')
-rw-r--r-- | clang/lib/Analysis/CFG.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/clang/lib/Analysis/CFG.cpp b/clang/lib/Analysis/CFG.cpp index 7ad688fd68d..b445acf70f2 100644 --- a/clang/lib/Analysis/CFG.cpp +++ b/clang/lib/Analysis/CFG.cpp @@ -597,9 +597,7 @@ CFGBlock* CFGBuilder::VisitIfStmt(IfStmt* I) { return 0; } - // Process the false branch. NULL out Block so that the recursive call to - // Visit will create a new basic block. - // Null out Block so that all successor + // Process the false branch. CFGBlock* ElseBlock = Succ; if (Stmt* Else = I->getElse()) { @@ -618,9 +616,7 @@ CFGBlock* CFGBuilder::VisitIfStmt(IfStmt* I) { } } - // Process the true branch. NULL out Block so that the recursive call to - // Visit will create a new basic block. - // Null out Block so that all successor + // Process the true branch. CFGBlock* ThenBlock; { Stmt* Then = I->getThen(); |