]> granicus.if.org Git - clang/commitdiff
Whitespace and 80-col cleanup.
authorEric Christopher <echristo@apple.com>
Tue, 23 Aug 2011 23:44:09 +0000 (23:44 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 23 Aug 2011 23:44:09 +0000 (23:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138413 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDecl.cpp

index 18c504545b12c98ce7e1c9d163998da0512cbed6..6d1e9b03ab810a0404cbaceec8bded402adc81ee 100644 (file)
@@ -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