Searched refs:getCurFunction (Results 1 – 13 of 13) sorted by relevance
277 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()332 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()362 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()379 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()385 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()424 getCurFunction()->setHasDroppedStmt(); in ActOnIfStmt()639 getCurFunction()->setHasBranchIntoScope(); in ActOnStartOfSwitchStmt()642 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()658 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()662 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()[all …]
40 if (S.getCurFunction()->SwitchStack.empty()) { in handleFallThroughAttr()
1041 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope()1045 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()1054 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
4449 getCurFunction()->setHasBranchProtectedScope(); in CheckTypedefForVariablyModifiedType()5160 getCurFunction()->setHasBranchProtectedScope(); in CheckVariableDeclaration()7326 getCurFunction()->setHasBranchProtectedScope(); in AddInitializerToDecl()7421 getCurFunction()->markSafeWeakUse(Init); in AddInitializerToDecl()7793 getCurFunction()->setHasBranchProtectedScope(); in ActOnUninitializedDecl()7886 getCurFunction()->setHasBranchProtectedScope(); in CheckCompleteVariableDeclaration()8771 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()8785 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()8787 if (getCurFunction()->ObjCShouldCallSuper) { in ActOnFinishFunctionBody()8790 getCurFunction()->ObjCShouldCallSuper = false; in ActOnFinishFunctionBody()[all …]
402 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()406 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()412 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
856 S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr, in complete()
1805 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()2471 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
1299 getCurFunction()->recordUseOfWeak(Result); in LookupMemberExpr()
1468 getCurFunction()->recordUseOfWeak(E); in BuildDeclRefExpr()2067 getCurFunction()->recordUseOfWeak(Result); in LookupInObjCMethod()7872 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()9701 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()9733 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
1707 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()3718 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()3721 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
3638 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
6312 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
910 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function