Searched refs:getCurFunction (Results 1 – 7 of 7) sorted by relevance
228 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()235 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()248 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()254 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()460 getCurFunction()->setHasBranchIntoScope(); in ActOnStartOfSwitchStmt()463 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()479 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()483 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()1436 getCurFunction()->setHasBranchIntoScope(); in ActOnGotoStmt()1458 getCurFunction()->setHasIndirectGoto(); in ActOnIndirectGotoStmt()[all …]
774 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
3391 getCurFunction()->setHasBranchProtectedScope(); in CheckTypedefForVariablyModifiedType()3955 getCurFunction()->setHasBranchProtectedScope(); in CheckVariableDeclaration()5387 getCurFunction()->setHasBranchProtectedScope(); in AddInitializerToDecl()5768 getCurFunction()->setHasBranchProtectedScope(); in ActOnUninitializedDecl()5858 getCurFunction()->setHasBranchProtectedScope(); in CheckCompleteVariableDeclaration()6481 ComputeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()6509 if (getCurFunction()->NeedsScopeChecking() && in ActOnFinishFunctionBody()
1566 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()3409 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()3412 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
3446 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
8488 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()8500 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
747 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function