Searched refs:getCurFunction (Results 1 – 12 of 12) sorted by relevance
291 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()343 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()373 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()390 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()396 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()435 getCurFunction()->setHasDroppedStmt(); in ActOnIfStmt()648 getCurFunction()->setHasBranchIntoScope(); in ActOnStartOfSwitchStmt()651 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()667 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()671 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()[all …]
40 if (S.getCurFunction()->SwitchStack.empty()) { in handleFallThroughAttr()
1071 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope()1075 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()1084 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
4636 getCurFunction()->setHasBranchProtectedScope(); in CheckTypedefForVariablyModifiedType()5763 getCurFunction()->setHasBranchProtectedScope(); in CheckVariableDeclarationType()8202 getCurFunction()->setHasBranchProtectedScope(); in AddInitializerToDecl()8295 getCurFunction()->markSafeWeakUse(Init); in AddInitializerToDecl()8693 getCurFunction()->setHasBranchProtectedScope(); in ActOnUninitializedDecl()8786 getCurFunction()->setHasBranchProtectedScope(); in CheckCompleteVariableDeclaration()9804 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()9818 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()9820 if (getCurFunction()->ObjCShouldCallSuper) { in ActOnFinishFunctionBody()9823 getCurFunction()->ObjCShouldCallSuper = false; in ActOnFinishFunctionBody()[all …]
403 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()407 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()413 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
699 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelDirective()
1914 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()2597 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
1710 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()3743 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()3746 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
3933 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
8471 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()10418 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()10450 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
6841 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
982 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function989 getCurFunction()->recordUseOfWeak(E, IsRead);