Skip to content

Commit 7a4b320

Browse files
[Rewrite] clang-format RewriteObjC.cpp (NFC)
I'm going to touch this area in a subsequent patch.
1 parent 9e53574 commit 7a4b320

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

clang/lib/Frontend/Rewrite/RewriteObjC.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4359,16 +4359,18 @@ Stmt *RewriteObjC::SynthBlockInitExpr(BlockExpr *Exp,
43594359
DeclRefExpr *Exp = InnerBlockDeclRefs[i];
43604360
ValueDecl *VD = Exp->getDecl();
43614361
if (!VD->hasAttr<BlocksAttr>() && !BlockByCopyDeclsPtrSet.count(VD)) {
4362-
// We need to save the copied-in variables in nested
4363-
// blocks because it is needed at the end for some of the API generations.
4364-
// See SynthesizeBlockLiterals routine.
4365-
InnerDeclRefs.push_back(Exp); countOfInnerDecls++;
4362+
// We need to save the copied-in variables in nested
4363+
// blocks because it is needed at the end for some of the API
4364+
// generations. See SynthesizeBlockLiterals routine.
4365+
InnerDeclRefs.push_back(Exp);
4366+
countOfInnerDecls++;
43664367
BlockDeclRefs.push_back(Exp);
43674368
BlockByCopyDeclsPtrSet.insert(VD);
43684369
BlockByCopyDecls.push_back(VD);
43694370
}
43704371
if (VD->hasAttr<BlocksAttr>() && !BlockByRefDeclsPtrSet.count(VD)) {
4371-
InnerDeclRefs.push_back(Exp); countOfInnerDecls++;
4372+
InnerDeclRefs.push_back(Exp);
4373+
countOfInnerDecls++;
43724374
BlockDeclRefs.push_back(Exp);
43734375
BlockByRefDeclsPtrSet.insert(VD);
43744376
BlockByRefDecls.push_back(VD);

0 commit comments

Comments
 (0)