Searched refs:getCurFunction (Results 1 – 15 of 15) sorted by relevance
328 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()380 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()390 getCurFunction()->SwitchStack.back()->getCond()) { in ActOnCaseStmt()432 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()449 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()455 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()662 getCurFunction()->setHasBranchIntoScope(); in ActOnStartOfSwitchStmt()665 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()732 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()735 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()[all …]
131 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext()363 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()
2680 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelDirective()4128 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSimdDirective()4163 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPForDirective()4217 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPForSimdDirective()4254 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSectionsDirective()4268 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSectionDirective()4284 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSingleDirective()4314 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPMasterDirective()4368 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPCriticalDirective()4415 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelForDirective()[all …]
38 if (S.getCurFunction()->SwitchStack.empty()) { in handleFallThroughAttr()
1176 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope()1180 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()1189 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
395 getCurFunction()->ObjCIsDesignatedInit = true; in ActOnStartOfObjCMethodDef()396 getCurFunction()->ObjCWarnForNoDesignatedInitChain = in ActOnStartOfObjCMethodDef()399 getCurFunction()->ObjCIsSecondaryInit = true; in ActOnStartOfObjCMethodDef()400 getCurFunction()->ObjCWarnForNoInitDelegation = true; in ActOnStartOfObjCMethodDef()413 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()417 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()423 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
5228 getCurFunction()->setHasBranchProtectedScope(); in CheckTypedefForVariablyModifiedType()6614 getCurFunction()->setHasBranchProtectedScope(); in CheckVariableDeclarationType()9321 getCurFunction()->setHasBranchProtectedScope(); in AddInitializerToDecl()9429 getCurFunction()->markSafeWeakUse(Init); in AddInitializerToDecl()9837 getCurFunction()->setHasBranchProtectedScope(); in ActOnUninitializedDecl()9957 getCurFunction()->setHasBranchProtectedScope(); in CheckCompleteVariableDeclaration()11039 if (getLangOpts().Coroutines && !getCurFunction()->CoroutineStmts.empty()) in ActOnFinishFunctionBody()11119 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()11181 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()11183 if (getCurFunction()->ObjCShouldCallSuper) { in ActOnFinishFunctionBody()[all …]
728 getCurFunction()->setHasBranchProtectedScope(); in ActOnMSAsmStmt()
846 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()
2169 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()2987 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
1711 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()3825 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()3828 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
7702 if (getCurFunction() && in DiagnoseAlwaysNonNullPointer()7703 !getCurFunction()->ModifiedNonNullParams.count(PV)) { in DiagnoseAlwaysNonNullPointer()9242 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
9594 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()10039 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()11635 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()11664 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
4354 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
1167 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function1186 getCurFunction()->recordUseOfWeak(E, IsRead);