зеркало из https://github.com/microsoft/clang-1.git
Whitespace and 80-col cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138413 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
cc075e4092
Коммит
c6fad60801
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче