Searched refs:getCurFunction (Results 1 – 19 of 19) sorted by relevance
432 FunctionScopeInfo *FSI = getCurFunction(); in ActOnAfterCompoundStatementLeadingPragmas()443 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()486 FPOptions FPO = (getCurFunction()->CompoundScopes.size() == 1) in ActOnCompoundStmt()504 if (getCurFunction()->SwitchStack.empty()) in ActOnCaseExpr()509 getCurFunction()->SwitchStack.back().getPointer()->getCond(); in ActOnCaseExpr()550 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()556 getCurFunction()->SwitchStack.back().setInt(true); in ActOnCaseStmt()569 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(CS); in ActOnCaseStmt()580 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()593 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(DS); in ActOnDefaultStmt()[all …]
490 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise()578 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext()697 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart()969 *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E); in ActOnCoyieldExpr()1165 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()1954 auto *ScopeInfo = getCurFunction(); in buildCoroutineParameterMoves()
471 SemaRef.getCurFunction()->ObjCIsDesignatedInit = true; in ActOnStartOfObjCMethodDef()472 SemaRef.getCurFunction()->ObjCWarnForNoDesignatedInitChain = in ActOnStartOfObjCMethodDef()475 SemaRef.getCurFunction()->ObjCIsSecondaryInit = true; in ActOnStartOfObjCMethodDef()476 SemaRef.getCurFunction()->ObjCWarnForNoInitDelegation = true; in ActOnStartOfObjCMethodDef()489 SemaRef.getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()493 SemaRef.getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()499 SemaRef.getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
858 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()977 S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr, in complete()
2477 getCurFunction()->CompoundScopes.push_back( in PushCompoundScope()2482 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()2489 return getCurFunction()->hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
35 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr()
349 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl()2405 getCurFunction()->recordUseOfWeak(E); in BuildDeclRefExpr()7255 getCurFunction()->setHasBranchProtectedScope(); in BuildCompoundLiteralExpr()14034 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()14646 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()15979 if (getCurFunction()) in ActOnAddrLabel()15980 getCurFunction()->AddrLabels.push_back(Res); in ActOnAddrLabel()16513 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()16519 if (Body && getCurFunction()->HasPotentialAvailabilityViolations) in ActOnBlockStmtExpr()16631 if (getCurFunction()) in ActOnBlockStmtExpr()[all …]
2412 SemaRef.getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()3389 SemaRef.getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()4916 SemaRef.getCurFunction()->recordUseOfWeak(Result); in BuildIvarRefExpr()
1461 S.getCurFunction()->recordUseOfWeak(Result); in LookupMemberExpr()
128 !dyn_cast_if_present<LambdaScopeInfo>(getCurFunction())) || in CheckConstraintExpression()
5178 if (SemaRef.getCurFunction() && in AddKeywordsToConsumer()5179 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
226 sema::FunctionScopeInfo *FSI = SemaRef.getCurFunction(); in ActOnObjCAtTryStmt()
2444 if (SemaRef.getCurFunction() && in AddOrdinaryNameResults()2445 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()6161 if (SemaRef.getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()6165 SemaRef.getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
8409 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow()8421 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()8432 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()13881 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl()14688 getCurFunction()->addByrefBlockVar(var); in CheckCompleteVariableDeclaration()16231 FunctionScopeInfo *FSI = getCurFunction(); in ActOnFinishFunctionBody()16682 CheckImmediateEscalatingFunctionDefinition(FD, getCurFunction()); in ActOnFinishFunctionBody()
13040 if (getCurFunction() && in DiagnoseAlwaysNonNullPointer()13041 !getCurFunction()->ModifiedNonNullParams.count(PV)) { in DiagnoseAlwaysNonNullPointer()14845 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
2290 } else if (sema::FunctionScopeInfo *FSI = getCurFunction()) { in BuildArrayType()
475 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()22304 SemaRef.getCurFunction()->setHasOMPDeclareReductionCombiner(); in ActOnOpenMPDeclareReductionCombinerStart()
8743 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt()
1298 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function13377 S.CheckImmediateEscalatingFunctionDefinition(FD, S.getCurFunction()); in ~SynthesizedFunctionScope()