Searched refs:getCurFunction (Results 1 – 18 of 18) sorted by relevance
396 FunctionScopeInfo *FSI = getCurFunction(); in ActOnAfterCompoundStatementLeadingPragmas()407 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()468 if (getCurFunction()->SwitchStack.empty()) in ActOnCaseExpr()519 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()543 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()1125 getCurFunction()->SwitchStack.push_back( in ActOnStartOfSwitchStmt()1229 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()3959 if (isa<CapturingScopeInfo>(getCurFunction())) in BuildReturnStmt()4253 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnObjCAtTryStmt()4510 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnCXXTryBlock()[all …]
590 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise()678 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext()782 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart()1013 *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E); in ActOnCoyieldExpr()1182 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()1959 auto *ScopeInfo = getCurFunction(); in buildCoroutineParameterMoves()
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()
38 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr()
2306 getCurFunction()->CompoundScopes.push_back( in PushCompoundScope()2311 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()2320 return getCurFunction()->hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
857 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()976 S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr, in complete()
347 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl()2313 getCurFunction()->recordUseOfWeak(E); in BuildDeclRefExpr()3151 getCurFunction()->recordUseOfWeak(Result); in BuildIvarRefExpr()7888 getCurFunction()->setHasBranchProtectedScope(); in BuildCompoundLiteralExpr()15248 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()16619 if (getCurFunction()) in ActOnAddrLabel()16620 getCurFunction()->AddrLabels.push_back(Res); in ActOnAddrLabel()17166 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()17281 if (getCurFunction()) in ActOnBlockStmtExpr()17282 getCurFunction()->addBlock(BD); in ActOnBlockStmtExpr()[all …]
129 !dyn_cast_if_present<LambdaScopeInfo>(getCurFunction())) || in CheckConstraintExpression()
1513 S.getCurFunction()->recordUseOfWeak(Result); in LookupMemberExpr()
5151 if (SemaRef.getCurFunction() && in AddKeywordsToConsumer()5152 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
2414 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()3391 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
2353 if (SemaRef.getCurFunction() && in AddOrdinaryNameResults()2354 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()5979 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()5982 SwitchStmt *Switch = getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
8403 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow()8415 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()8426 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()13724 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl()14518 getCurFunction()->addByrefBlockVar(var); in CheckCompleteVariableDeclaration()16003 FunctionScopeInfo *FSI = getCurFunction(); in ActOnFinishFunctionBody()
16493 if (getCurFunction() && in DiagnoseAlwaysNonNullPointer()16494 !getCurFunction()->ModifiedNonNullParams.count(PV)) { in DiagnoseAlwaysNonNullPointer()18773 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
2718 } else if (sema::FunctionScopeInfo *FSI = getCurFunction()) { in BuildArrayType()
473 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()22584 getCurFunction()->setHasOMPDeclareReductionCombiner(); in ActOnOpenMPDeclareReductionCombinerStart()
8098 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt()
1119 S.CheckImmediateEscalatingFunctionDefinition(FD, S.getCurFunction()); in ~SynthesizedFunctionScope()2025 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function