Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp241 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 …]
DSema.cpp867 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope()
871 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()
880 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
DSemaDecl.cpp3742 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()
DSemaCodeComplete.cpp1649 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
3604 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
3607 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
DSemaLookup.cpp3631 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
DSemaExpr.cpp9108 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()
9134 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
/external/clang/include/clang/Sema/
DSema.h861 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function