Searched refs:getCurFunction (Results 1 – 16 of 16) sorted by relevance
391 FunctionScopeInfo *FSI = getCurFunction(); in ActOnAfterCompoundStatementLeadingPragmas()402 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()450 if (getCurFunction()->SwitchStack.empty()) in ActOnCaseExpr()501 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()507 getCurFunction()->SwitchStack.back().setInt(true); in ActOnCaseStmt()525 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()1080 getCurFunction()->SwitchStack.push_back( in ActOnStartOfSwitchStmt()1184 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()3897 if (isa<CapturingScopeInfo>(getCurFunction())) in BuildReturnStmt()4392 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnCXXTryBlock()[all …]
532 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise()616 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext()713 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart()911 *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E); in ActOnCoyieldExpr()1053 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()1624 auto *ScopeInfo = getCurFunction(); in buildCoroutineParameterMoves()
37 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr()
464 getCurFunction()->ObjCIsDesignatedInit = true; in ActOnStartOfObjCMethodDef()465 getCurFunction()->ObjCWarnForNoDesignatedInitChain = in ActOnStartOfObjCMethodDef()468 getCurFunction()->ObjCIsSecondaryInit = true; in ActOnStartOfObjCMethodDef()469 getCurFunction()->ObjCWarnForNoInitDelegation = true; in ActOnStartOfObjCMethodDef()482 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()486 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()492 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
2117 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo(IsStmtExpr)); in PushCompoundScope()2121 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()2130 return getCurFunction()->hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
852 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()971 S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr, in complete()
1464 S.getCurFunction()->recordUseOfWeak(Result); in LookupMemberExpr()
339 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl()2058 getCurFunction()->recordUseOfWeak(E); in BuildDeclRefExpr()2889 getCurFunction()->recordUseOfWeak(Result); in BuildIvarRefExpr()7024 getCurFunction()->setHasBranchProtectedScope(); in BuildCompoundLiteralExpr()13212 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()13771 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()15618 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()15624 if (Body && getCurFunction()->HasPotentialAvailabilityViolations) in ActOnBlockStmtExpr()15732 if (getCurFunction()) in ActOnBlockStmtExpr()15733 getCurFunction()->addBlock(BD); in ActOnBlockStmtExpr()
2256 if (SemaRef.getCurFunction() && in AddOrdinaryNameResults()2257 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()5569 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()5572 SwitchStmt *Switch = getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
4809 if (SemaRef.getCurFunction() && in AddKeywordsToConsumer()4810 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
2414 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()3392 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
7723 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow()7731 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()12375 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl()13162 getCurFunction()->addByrefBlockVar(var); in CheckCompleteVariableDeclaration()14477 FunctionScopeInfo *FSI = getCurFunction(); in ActOnFinishFunctionBody()
13319 if (getCurFunction() && in DiagnoseAlwaysNonNullPointer()13320 !getCurFunction()->ModifiedNonNullParams.count(PV)) { in DiagnoseAlwaysNonNullPointer()15590 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
445 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()19769 getCurFunction()->setHasOMPDeclareReductionCombiner(); in ActOnOpenMPDeclareReductionCombinerStart()
7734 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt()
1878 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function