aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFG.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-08-17 23:08:45 +0000
committerChad Rosier <mcrosier@apple.com>2011-08-17 23:08:45 +0000
commit3060178ad9df29789505c1e6debcfc80a3a13587 (patch)
tree3f9a7c68c99aec3950171700b69d3b7152043a71 /lib/Analysis/CFG.cpp
parente172e8b9e7fc67d7d03589af7e92fe777afcf33a (diff)
Fix else style. No functionality change intended.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFG.cpp')
-rw-r--r--lib/Analysis/CFG.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Analysis/CFG.cpp b/lib/Analysis/CFG.cpp
index a1997ab6a9..65dabda7e7 100644
--- a/lib/Analysis/CFG.cpp
+++ b/lib/Analysis/CFG.cpp
@@ -2203,8 +2203,7 @@ CFGBlock *CFGBuilder::VisitUnaryExprOrTypeTraitExpr(UnaryExprOrTypeTraitExpr *E,
for (const VariableArrayType *VA =FindVA(E->getArgumentType().getTypePtr());
VA != 0; VA = FindVA(VA->getElementType().getTypePtr()))
lastBlock = addStmt(VA->getSizeExpr());
- }
- else {
+ } else {
// For sizeof(x), where 'x' is a VLA, we should include the computation
// of the lvalue of 'x'.
Expr *subEx = E->getArgumentExpr();