summaryrefslogtreecommitdiffstats
path: root/clang/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
commit6fdf38bfbd4d19b60b21498f07772ee30a0cca78 (patch)
tree2762c433a4976fde6065298ea07842d371e1e19d /clang/lib/Analysis/CFG.cpp
parente3bdcd0ea830e76f116829f44c4bef7ec986884a (diff)
downloadbcm5719-llvm-6fdf38bfbd4d19b60b21498f07772ee30a0cca78.tar.gz
bcm5719-llvm-6fdf38bfbd4d19b60b21498f07772ee30a0cca78.zip
Fix else style. No functionality change intended.
llvm-svn: 137896
Diffstat (limited to 'clang/lib/Analysis/CFG.cpp')
-rw-r--r--clang/lib/Analysis/CFG.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Analysis/CFG.cpp b/clang/lib/Analysis/CFG.cpp
index a1997ab6a93..65dabda7e76 100644
--- a/clang/lib/Analysis/CFG.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud