Skip to content

Commit ba7d23e

Browse files
committed
Format
1 parent f58459d commit ba7d23e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

clang/include/clang/Sema/Sema.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13139,12 +13139,10 @@ class Sema final : public SemaBase {
1313913139
~SynthesizedFunctionScope() {
1314013140
if (PushedCodeSynthesisContext)
1314113141
S.popCodeSynthesisContext();
13142-
1314313142
if (auto *FD = dyn_cast<FunctionDecl>(S.CurContext)) {
1314413143
FD->setWillHaveBody(false);
1314513144
S.CheckImmediateEscalatingFunctionDefinition(FD, S.getCurFunction());
1314613145
}
13147-
1314813146
S.PopExpressionEvaluationContext();
1314913147
S.PopFunctionScopeInfo();
1315013148
}

clang/lib/Sema/SemaDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16396,7 +16396,7 @@ Decl *Sema::ActOnFinishFunctionBody(Decl *dcl, Stmt *Body,
1639616396
// the declaration context below. Otherwise, we're unable to transform
1639716397
// 'this' expressions when transforming immediate context functions.
1639816398

16399-
if(FD)
16399+
if (FD)
1640016400
CheckImmediateEscalatingFunctionDefinition(FD, getCurFunction());
1640116401

1640216402
if (!IsInstantiation)

0 commit comments

Comments
 (0)