Searched refs:getCurFunction (Results 1 – 19 of 19) sorted by relevance
401 FunctionScopeInfo *FSI = getCurFunction(); in ActOnAfterCompoundStatementLeadingPragmas()412 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()455 FPOptions FPO = (getCurFunction()->CompoundScopes.size() == 1) in ActOnCompoundStmt()473 if (getCurFunction()->SwitchStack.empty()) in ActOnCaseExpr()478 getCurFunction()->SwitchStack.back().getPointer()->getCond(); in ActOnCaseExpr()524 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()530 getCurFunction()->SwitchStack.back().setInt(true); in ActOnCaseStmt()543 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(CS); in ActOnCaseStmt()554 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()567 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(DS); in ActOnDefaultStmt()[all …]
502 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise()590 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext()694 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart()923 *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E); in ActOnCoyieldExpr()1092 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()1869 auto *ScopeInfo = getCurFunction(); in buildCoroutineParameterMoves()
472 SemaRef.getCurFunction()->ObjCIsDesignatedInit = true; in ActOnStartOfObjCMethodDef()473 SemaRef.getCurFunction()->ObjCWarnForNoDesignatedInitChain = in ActOnStartOfObjCMethodDef()476 SemaRef.getCurFunction()->ObjCIsSecondaryInit = true; in ActOnStartOfObjCMethodDef()477 SemaRef.getCurFunction()->ObjCWarnForNoInitDelegation = true; in ActOnStartOfObjCMethodDef()490 SemaRef.getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()494 SemaRef.getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()500 SemaRef.getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
2310 getCurFunction()->CompoundScopes.push_back( in PushCompoundScope()2315 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()2322 return getCurFunction()->hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
860 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()979 S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr, in complete()
39 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr()
341 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl()2298 getCurFunction()->recordUseOfWeak(E); in BuildDeclRefExpr()7099 getCurFunction()->setHasBranchProtectedScope(); in BuildCompoundLiteralExpr()13636 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()14250 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()15613 if (getCurFunction()) in ActOnAddrLabel()15614 getCurFunction()->AddrLabels.push_back(Res); in ActOnAddrLabel()16155 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()16161 if (Body && getCurFunction()->HasPotentialAvailabilityViolations) in ActOnBlockStmtExpr()16270 if (getCurFunction()) in ActOnBlockStmtExpr()[all …]
2423 SemaRef.getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()3399 SemaRef.getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()4922 SemaRef.getCurFunction()->recordUseOfWeak(Result); in BuildIvarRefExpr()
1526 S.getCurFunction()->recordUseOfWeak(Result); in LookupMemberExpr()
130 !dyn_cast_if_present<LambdaScopeInfo>(getCurFunction())) || in CheckConstraintExpression()
5086 if (SemaRef.getCurFunction() && in AddKeywordsToConsumer()5087 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
230 sema::FunctionScopeInfo *FSI = SemaRef.getCurFunction(); in ActOnObjCAtTryStmt()
2360 if (SemaRef.getCurFunction() && in AddOrdinaryNameResults()2361 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()6011 if (SemaRef.getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()6015 SemaRef.getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
8215 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow()8227 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()8238 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()13536 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl()14323 getCurFunction()->addByrefBlockVar(var); in CheckCompleteVariableDeclaration()15789 FunctionScopeInfo *FSI = getCurFunction(); in ActOnFinishFunctionBody()
11608 if (getCurFunction() && in DiagnoseAlwaysNonNullPointer()11609 !getCurFunction()->ModifiedNonNullParams.count(PV)) { in DiagnoseAlwaysNonNullPointer()13412 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
2265 } else if (sema::FunctionScopeInfo *FSI = getCurFunction()) { in BuildArrayType()
478 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()21408 SemaRef.getCurFunction()->setHasOMPDeclareReductionCombiner(); in ActOnOpenMPDeclareReductionCombinerStart()
8393 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt()
1033 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function13109 S.CheckImmediateEscalatingFunctionDefinition(FD, S.getCurFunction()); in ~SynthesizedFunctionScope()