Searched refs:getCurFunction (Results 1 – 15 of 15) sorted by relevance
329 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()381 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()391 getCurFunction()->SwitchStack.back()->getCond()) { in ActOnCaseStmt()433 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()450 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()456 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()540 getCurFunction()->setHasBranchProtectedScope(); in BuildIfStmt()671 getCurFunction()->setHasBranchIntoScope(); in ActOnStartOfSwitchStmt()675 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()742 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()[all …]
131 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext()363 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()
3891 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelDirective()5502 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSimdDirective()5538 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPForDirective()5593 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPForSimdDirective()5630 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSectionsDirective()5644 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSectionDirective()5660 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSingleDirective()5690 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPMasterDirective()5744 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPCriticalDirective()5792 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelForDirective()[all …]
1169 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope()1173 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()1182 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
40 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr()
394 getCurFunction()->ObjCIsDesignatedInit = true; in ActOnStartOfObjCMethodDef()395 getCurFunction()->ObjCWarnForNoDesignatedInitChain = in ActOnStartOfObjCMethodDef()398 getCurFunction()->ObjCIsSecondaryInit = true; in ActOnStartOfObjCMethodDef()399 getCurFunction()->ObjCWarnForNoInitDelegation = true; in ActOnStartOfObjCMethodDef()412 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()416 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()422 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
5362 getCurFunction()->setHasBranchProtectedScope(); in CheckTypedefForVariablyModifiedType()6893 getCurFunction()->setHasBranchProtectedScope(); in CheckVariableDeclarationType()9656 getCurFunction()->setHasBranchProtectedScope(); in AddInitializerToDecl()9766 getCurFunction()->markSafeWeakUse(Init); in AddInitializerToDecl()10183 getCurFunction()->setHasBranchProtectedScope(); in ActOnUninitializedDecl()10319 getCurFunction()->setHasBranchProtectedScope(); in CheckCompleteVariableDeclaration()11445 if (getLangOpts().Coroutines && !getCurFunction()->CoroutineStmts.empty()) in ActOnFinishFunctionBody()11529 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()11591 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()11593 if (getCurFunction()->ObjCShouldCallSuper) { in ActOnFinishFunctionBody()[all …]
732 getCurFunction()->setHasBranchProtectedScope(); in ActOnMSAsmStmt()
847 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()
2184 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()3014 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
1723 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()3845 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()3848 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
379 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl()10043 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()10553 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()12166 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()12195 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
8721 if (getCurFunction() && in DiagnoseAlwaysNonNullPointer()8722 !getCurFunction()->ModifiedNonNullParams.count(PV)) { in DiagnoseAlwaysNonNullPointer()10264 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
4436 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
1187 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function1206 getCurFunction()->recordUseOfWeak(E, IsRead);