Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp329 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()
381 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()
391 getCurFunction()->SwitchStack.back()->getCond()) { in ActOnCaseStmt()
433 getCurFunction()->SwitchStack.back()->addSwitchCase(CS); in ActOnCaseStmt()
450 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()
456 getCurFunction()->SwitchStack.back()->addSwitchCase(DS); in ActOnDefaultStmt()
540 getCurFunction()->setHasBranchProtectedScope(); in BuildIfStmt()
671 getCurFunction()->setHasBranchIntoScope(); in ActOnStartOfSwitchStmt()
675 getCurFunction()->SwitchStack.push_back(SS); in ActOnStartOfSwitchStmt()
742 assert(SS == getCurFunction()->SwitchStack.back() && in ActOnFinishSwitchStmt()
[all …]
DSemaCoroutine.cpp131 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext()
363 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()
DSemaOpenMP.cpp3891 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelDirective()
5502 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSimdDirective()
5538 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPForDirective()
5593 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPForSimdDirective()
5630 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSectionsDirective()
5644 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSectionDirective()
5660 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPSingleDirective()
5690 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPMasterDirective()
5744 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPCriticalDirective()
5792 getCurFunction()->setHasBranchProtectedScope(); in ActOnOpenMPParallelForDirective()
[all …]
DSema.cpp1169 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo()); in PushCompoundScope()
1173 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()
1182 return getCurFunction()->ErrorTrap.hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
DSemaStmtAttr.cpp40 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr()
DSemaDeclObjC.cpp394 getCurFunction()->ObjCIsDesignatedInit = true; in ActOnStartOfObjCMethodDef()
395 getCurFunction()->ObjCWarnForNoDesignatedInitChain = in ActOnStartOfObjCMethodDef()
398 getCurFunction()->ObjCIsSecondaryInit = true; in ActOnStartOfObjCMethodDef()
399 getCurFunction()->ObjCWarnForNoInitDelegation = true; in ActOnStartOfObjCMethodDef()
412 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()
416 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()
422 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
DSemaDecl.cpp5362 getCurFunction()->setHasBranchProtectedScope(); in CheckTypedefForVariablyModifiedType()
6893 getCurFunction()->setHasBranchProtectedScope(); in CheckVariableDeclarationType()
9656 getCurFunction()->setHasBranchProtectedScope(); in AddInitializerToDecl()
9766 getCurFunction()->markSafeWeakUse(Init); in AddInitializerToDecl()
10183 getCurFunction()->setHasBranchProtectedScope(); in ActOnUninitializedDecl()
10319 getCurFunction()->setHasBranchProtectedScope(); in CheckCompleteVariableDeclaration()
11445 if (getLangOpts().Coroutines && !getCurFunction()->CoroutineStmts.empty()) in ActOnFinishFunctionBody()
11529 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()
11591 computeNRVO(Body, getCurFunction()); in ActOnFinishFunctionBody()
11593 if (getCurFunction()->ObjCShouldCallSuper) { in ActOnFinishFunctionBody()
[all …]
DSemaStmtAsm.cpp732 getCurFunction()->setHasBranchProtectedScope(); in ActOnMSAsmStmt()
DSemaPseudoObject.cpp847 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()
DSemaExprObjC.cpp2184 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()
3014 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
DSemaCodeComplete.cpp1723 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
3845 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
3848 SwitchStmt *Switch = getCurFunction()->SwitchStack.back(); in CodeCompleteCase()
DSemaExpr.cpp379 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl()
10043 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()
10553 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()
12166 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()
12195 getCurFunction()->setHasBranchProtectedScope(); in ActOnBlockStmtExpr()
DSemaChecking.cpp8721 if (getCurFunction() && in DiagnoseAlwaysNonNullPointer()
8722 !getCurFunction()->ModifiedNonNullParams.count(PV)) { in DiagnoseAlwaysNonNullPointer()
10264 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
DSemaLookup.cpp4436 if (!SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
/external/clang/include/clang/Sema/
DSema.h1187 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function
1206 getCurFunction()->recordUseOfWeak(E, IsRead);