Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp277 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()
332 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()
362 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()
379 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()
385 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()
424 getCurFunction()->setHasDroppedStmt(); in ActOnIfStmt()
639 getCurFunction()->setHasBranchIntoScope(); in ActOnStartOfSwitchStmt()
642 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()
658 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()
662 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()
[all …]
DSemaStmtAttr.cpp40 if (S.getCurFunction()->SwitchStack.empty()) { in handleFallThroughAttr()
DSema.cpp1041 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope()
1045 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()
1054 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
DSemaDecl.cpp4449 getCurFunction()->setHasBranchProtectedScope(); in CheckTypedefForVariablyModifiedType()
5160 getCurFunction()->setHasBranchProtectedScope(); in CheckVariableDeclaration()
7326 getCurFunction()->setHasBranchProtectedScope(); in AddInitializerToDecl()
7421 getCurFunction()->markSafeWeakUse(Init); in AddInitializerToDecl()
7793 getCurFunction()->setHasBranchProtectedScope(); in ActOnUninitializedDecl()
7886 getCurFunction()->setHasBranchProtectedScope(); in CheckCompleteVariableDeclaration()
8771 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()
8785 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()
8787 if (getCurFunction()->ObjCShouldCallSuper) { in ActOnFinishFunctionBody()
8790 getCurFunction()->ObjCShouldCallSuper = false; in ActOnFinishFunctionBody()
[all …]
DSemaDeclObjC.cpp402 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()
406 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()
412 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
DSemaPseudoObject.cpp856 S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr, in complete()
DSemaExprObjC.cpp1805 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()
2471 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
DSemaExprMember.cpp1299 getCurFunction()->recordUseOfWeak(Result); in LookupMemberExpr()
DSemaExpr.cpp1468 getCurFunction()->recordUseOfWeak(E); in BuildDeclRefExpr()
2067 getCurFunction()->recordUseOfWeak(Result); in LookupInObjCMethod()
7872 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()
9701 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()
9733 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
DSemaCodeComplete.cpp1707 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
3718 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
3721 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
DSemaLookup.cpp3638 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
DSemaChecking.cpp6312 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
/external/clang/include/clang/Sema/
DSema.h910 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function