Searched refs:getCurFunction (Results 1 – 7 of 7) sorted by relevance
241 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()294 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()318 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()335 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()341 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()549 getCurFunction()->setHasBranchIntoScope(); in ActOnStartOfSwitchStmt()552 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()568 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()572 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()1641 getCurFunction()->setHasBranchIntoScope(); in ActOnGotoStmt()[all …]
867 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope()871 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()880 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
3742 getCurFunction()->setHasBranchProtectedScope(); in CheckTypedefForVariablyModifiedType()4348 getCurFunction()->setHasBranchProtectedScope(); in CheckVariableDeclaration()6259 getCurFunction()->setHasBranchProtectedScope(); in AddInitializerToDecl()6671 getCurFunction()->setHasBranchProtectedScope(); in ActOnUninitializedDecl()6765 getCurFunction()->setHasBranchProtectedScope(); in CheckCompleteVariableDeclaration()7466 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()7482 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()7510 if (getCurFunction()->NeedsScopeChecking() && in ActOnFinishFunctionBody()
1649 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()3604 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()3607 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
3631 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
9108 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()9134 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
861 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function