Home
last modified time | relevance | path

Searched refs:getCurFunction (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/Sema/
DSemaStmt.cpp228 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 …]
DSema.cpp774 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
DSemaDecl.cpp3391 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()
DSemaCodeComplete.cpp1566 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
3409 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
3412 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
DSemaLookup.cpp3446 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
DSemaExpr.cpp8488 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()
8500 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
/external/clang/include/clang/Sema/
DSema.h747 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function