Searched refs:getCurFunction (Results 1 – 16 of 16) sorted by relevance
395 FunctionScopeInfo *FSI = getCurFunction(); in ActOnAfterCompoundStatementLeadingPragmas()406 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()449 FPOptions FPO = (getCurFunction()->CompoundScopes.size() == 1) in ActOnCompoundStmt()467 if (getCurFunction()->SwitchStack.empty()) in ActOnCaseExpr()472 getCurFunction()->SwitchStack.back().getPointer()->getCond(); in ActOnCaseExpr()518 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()524 getCurFunction()->SwitchStack.back().setInt(true); in ActOnCaseStmt()530 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(CS); in ActOnCaseStmt()542 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()548 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(DS); in ActOnDefaultStmt()[all …]
505 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise()593 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext()694 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart()925 *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E); in ActOnCoyieldExpr()1094 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()1795 auto *ScopeInfo = getCurFunction(); in buildCoroutineParameterMoves()
38 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()
2260 getCurFunction()->CompoundScopes.push_back( in PushCompoundScope()2265 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()2274 return getCurFunction()->hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
852 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()971 S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr, in complete()
347 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl()2115 getCurFunction()->recordUseOfWeak(E); in BuildDeclRefExpr()2951 getCurFunction()->recordUseOfWeak(Result); in BuildIvarRefExpr()7560 getCurFunction()->setHasBranchProtectedScope(); in BuildCompoundLiteralExpr()14203 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()14761 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()16116 if (getCurFunction()) in ActOnAddrLabel()16117 getCurFunction()->AddrLabels.push_back(Res); in ActOnAddrLabel()16654 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()16660 if (Body && getCurFunction()->HasPotentialAvailabilityViolations) in ActOnBlockStmtExpr()[all …]
1480 S.getCurFunction()->recordUseOfWeak(Result); in LookupMemberExpr()
2412 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()3386 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
5133 if (SemaRef.getCurFunction() && in AddKeywordsToConsumer()5134 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
2291 if (SemaRef.getCurFunction() && in AddOrdinaryNameResults()2292 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()5898 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()5901 SwitchStmt *Switch = getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
8222 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow()8230 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()13250 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl()14043 getCurFunction()->addByrefBlockVar(var); in CheckCompleteVariableDeclaration()15420 FunctionScopeInfo *FSI = getCurFunction(); in ActOnFinishFunctionBody()
14735 if (getCurFunction() && in DiagnoseAlwaysNonNullPointer()14736 !getCurFunction()->ModifiedNonNullParams.count(PV)) { in DiagnoseAlwaysNonNullPointer()16977 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
468 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()22169 getCurFunction()->setHasOMPDeclareReductionCombiner(); in ActOnOpenMPDeclareReductionCombinerStart()
7947 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt()
1982 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function