Home
last modified time | relevance | path

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

/trueos/contrib/llvm/tools/clang/lib/Sema/
HDSemaStmt.cpp291 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()
343 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()
373 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()
390 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()
396 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()
435 getCurFunction()->setHasDroppedStmt(); in ActOnIfStmt()
648 getCurFunction()->setHasBranchIntoScope(); in ActOnStartOfSwitchStmt()
651 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()
667 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()
671 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()
[all …]
HDSemaStmtAttr.cpp40 if (S.getCurFunction()->SwitchStack.empty()) { in handleFallThroughAttr()
HDSema.cpp1071 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope()
1075 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()
1084 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
HDSemaDecl.cpp4636 getCurFunction()->setHasBranchProtectedScope(); in CheckTypedefForVariablyModifiedType()
5763 getCurFunction()->setHasBranchProtectedScope(); in CheckVariableDeclarationType()
8202 getCurFunction()->setHasBranchProtectedScope(); in AddInitializerToDecl()
8295 getCurFunction()->markSafeWeakUse(Init); in AddInitializerToDecl()
8693 getCurFunction()->setHasBranchProtectedScope(); in ActOnUninitializedDecl()
8786 getCurFunction()->setHasBranchProtectedScope(); in CheckCompleteVariableDeclaration()
9804 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()
9818 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()
9820 if (getCurFunction()->ObjCShouldCallSuper) { in ActOnFinishFunctionBody()
9823 getCurFunction()->ObjCShouldCallSuper = false; in ActOnFinishFunctionBody()
[all …]
HDSemaDeclObjC.cpp403 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()
407 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()
413 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
HDSemaOpenMP.cpp699 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelDirective()
HDSemaExprObjC.cpp1914 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()
2597 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
HDSemaCodeComplete.cpp1710 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
3743 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
3746 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
HDSemaLookup.cpp3933 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
HDSemaExpr.cpp8471 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()
10418 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()
10450 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
HDSemaChecking.cpp6841 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
/trueos/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h982 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function
989 getCurFunction()->recordUseOfWeak(E, IsRead);