aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-02-07 17:18:33 +0000
committerMike Stump <mrs@apple.com>2009-02-07 17:18:33 +0000
commit16b16206741f5139c4ad870632db8f9ea4c6c943 (patch)
tree7b854ac013226ead3b4742499fe836673d3febd9 /lib/CodeGen/CGStmt.cpp
parent50f4e7031f808f2a20264cf133c65996c48b1bef (diff)
Fit into 80-col.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r--lib/CodeGen/CGStmt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp
index 42512d1847..4e2bca59ea 100644
--- a/lib/CodeGen/CGStmt.cpp
+++ b/lib/CodeGen/CGStmt.cpp
@@ -358,9 +358,9 @@ void CodeGenFunction::EmitWhileStmt(const WhileStmt &S) {
llvm::BasicBlock *LoopHeader = createBasicBlock("while.cond");
EmitBlock(LoopHeader);
- // Evaluate the conditional in the while header. C99 6.8.5.1: The evaluation
- // of the controlling expression takes place before each execution of the loop
- // body.
+ // Evaluate the conditional in the while header. C99 6.8.5.1: The
+ // evaluation of the controlling expression takes place before each
+ // execution of the loop body.
llvm::Value *BoolCondVal = EvaluateExprAsBool(S.getCond());
// while(1) is common, avoid extra exit blocks. Be sure