Searched refs:getCurFunction (Results 1 – 17 of 17) sorted by relevance
348 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()404 if (!getCurFunction()->SwitchStack.empty()) { in ActOnCaseExpr()454 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()460 getCurFunction()->SwitchStack.back().setInt(true); in ActOnCaseStmt()481 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()728 getCurFunction()->SwitchStack.push_back( in ActOnStartOfSwitchStmt()829 assert(SS == getCurFunction()->SwitchStack.back().getPointer() && in ActOnFinishSwitchStmt()832 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()3541 if (isa<CapturingScopeInfo>(getCurFunction())) in BuildReturnStmt()4029 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnCXXTryBlock()[all …]
526 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise()603 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext()626 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart()777 *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E); in ActOnCoyieldExpr()934 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()1501 auto *ScopeInfo = getCurFunction(); in buildCoroutineParameterMoves()
39 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr()
1493 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo(IsStmtExpr)); in PushCompoundScope()1497 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()1506 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
463 getCurFunction()->ObjCIsDesignatedInit = true; in ActOnStartOfObjCMethodDef()464 getCurFunction()->ObjCWarnForNoDesignatedInitChain = in ActOnStartOfObjCMethodDef()467 getCurFunction()->ObjCIsSecondaryInit = true; in ActOnStartOfObjCMethodDef()468 getCurFunction()->ObjCWarnForNoInitDelegation = true; in ActOnStartOfObjCMethodDef()481 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()485 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()491 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
862 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()981 S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr, in complete()
7061 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()11184 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl()11873 getCurFunction()->addByrefBlockVar(var); in CheckCompleteVariableDeclaration()13180 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()13265 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()13267 if (getCurFunction()->ObjCShouldCallSuper) { in ActOnFinishFunctionBody()13270 getCurFunction()->ObjCShouldCallSuper = false; in ActOnFinishFunctionBody()13299 if (getCurFunction()->ObjCWarnForNoInitDelegation) { in ActOnFinishFunctionBody()13304 getCurFunction()->ObjCWarnForNoInitDelegation = false; in ActOnFinishFunctionBody()13316 assert(!getCurFunction()->ObjCShouldCallSuper && in ActOnFinishFunctionBody()[all …]
309 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl()1729 getCurFunction()->recordUseOfWeak(E); in BuildDeclRefExpr()2485 getCurFunction()->recordUseOfWeak(Result); in LookupInObjCMethod()11444 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()11973 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()13758 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()13764 if (Body && getCurFunction()->HasPotentialAvailabilityViolations) in ActOnBlockStmtExpr()13796 if (getCurFunction()) in ActOnBlockStmtExpr()13797 getCurFunction()->addBlock(BD); in ActOnBlockStmtExpr()16864 getCurFunction()->HasPotentialAvailabilityViolations = true; in ActOnObjCAvailabilityCheckExpr()
1449 S.getCurFunction()->recordUseOfWeak(Result); in LookupMemberExpr()
1908 if (SemaRef.getCurFunction() && in AddOrdinaryNameResults()1909 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()4476 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()4479 SwitchStmt *Switch = getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
4521 if (SemaRef.getCurFunction() && in AddKeywordsToConsumer()4522 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
2232 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()3166 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
11459 if (getCurFunction() && in DiagnoseAlwaysNonNullPointer()11460 !getCurFunction()->ModifiedNonNullParams.count(PV)) { in DiagnoseAlwaysNonNullPointer()13107 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
254 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()13254 getCurFunction()->setHasOMPDeclareReductionCombiner(); in ActOnOpenMPDeclareReductionCombinerStart()
8317 getCurFunction()->HasPotentialAvailabilityViolations = true; in DiagnoseAvailabilityOfDecl()
7020 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt()
1358 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function