summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-08-23 23:44:09 +0000
committerEric Christopher <echristo@apple.com>2011-08-23 23:44:09 +0000
commitd28d107099263a74d201b008571c41e2333562e0 (patch)
tree9eddc9facd22e60a6ff7c4fa97fcb5b4a02df2f0 /clang/lib/CodeGen/CGDecl.cpp
parent73952fc263aa60b84bcf30adc23d798464de07bc (diff)
downloadbcm5719-llvm-d28d107099263a74d201b008571c41e2333562e0.tar.gz
bcm5719-llvm-d28d107099263a74d201b008571c41e2333562e0.zip
Whitespace and 80-col cleanup.
llvm-svn: 138413
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r--clang/lib/CodeGen/CGDecl.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp
index 18c504545b1..6d1e9b03ab8 100644
--- a/clang/lib/CodeGen/CGDecl.cpp
+++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -877,8 +877,8 @@ static bool isCapturedBy(const VarDecl &var, const Expr *e) {
if (const StmtExpr *SE = dyn_cast<StmtExpr>(e)) {
const CompoundStmt *CS = SE->getSubStmt();
- for (CompoundStmt::const_body_iterator BI = CS->body_begin(), BE = CS->body_end()
- ;BI != BE; ++BI)
+ for (CompoundStmt::const_body_iterator BI = CS->body_begin(),
+ BE = CS->body_end(); BI != BE; ++BI)
if (Expr *E = dyn_cast<Expr>((*BI)))
if (isCapturedBy(var, E))
return true;
@@ -933,7 +933,6 @@ void CodeGenFunction::EmitAutoVarInit(const AutoVarEmission &emission) {
if (isTrivialInitializer(Init))
return;
-
CharUnits alignment = emission.Alignment;
// Check whether this is a byref variable that's potentially
OpenPOWER on IntegriCloud