Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp391 FunctionScopeInfo *FSI = getCurFunction(); in ActOnAfterCompoundStatementLeadingPragmas()
402 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()
450 if (getCurFunction()->SwitchStack.empty()) in ActOnCaseExpr()
455 getCurFunction()->SwitchStack.back().getPointer()->getCond(); in ActOnCaseExpr()
501 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()
507 getCurFunction()->SwitchStack.back().setInt(true); in ActOnCaseStmt()
513 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(CS); in ActOnCaseStmt()
525 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()
531 getCurFunction()->SwitchStack.back().getPointer()->addSwitchCase(DS); in ActOnDefaultStmt()
1080 getCurFunction()->SwitchStack.push_back( in ActOnStartOfSwitchStmt()
[all …]
H A DSemaCoroutine.cpp552 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise()
636 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext()
733 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart()
931 *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E); in ActOnCoyieldExpr()
1089 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()
1660 auto *ScopeInfo = getCurFunction(); in buildCoroutineParameterMoves()
H A DSemaStmtAttr.cpp37 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr()
H A DSemaDeclObjC.cpp464 getCurFunction()->ObjCIsDesignatedInit = true; in ActOnStartOfObjCMethodDef()
465 getCurFunction()->ObjCWarnForNoDesignatedInitChain = in ActOnStartOfObjCMethodDef()
468 getCurFunction()->ObjCIsSecondaryInit = true; in ActOnStartOfObjCMethodDef()
469 getCurFunction()->ObjCWarnForNoInitDelegation = true; in ActOnStartOfObjCMethodDef()
482 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()
486 getCurFunction()->ObjCShouldCallSuper = true; in ActOnStartOfObjCMethodDef()
492 getCurFunction()->ObjCShouldCallSuper = in ActOnStartOfObjCMethodDef()
H A DSema.cpp2047 getCurFunction()->CompoundScopes.push_back(CompoundScopeInfo(IsStmtExpr)); in PushCompoundScope()
2051 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()
2060 return getCurFunction()->hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
H A DSemaPseudoObject.cpp852 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()
971 S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr, in complete()
H A DSemaAvailability.cpp948 getCurFunction()->HasPotentialAvailabilityViolations = true; in DiagnoseAvailabilityOfDecl()
H A DSemaExpr.cpp334 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl()
2048 getCurFunction()->recordUseOfWeak(E); in BuildDeclRefExpr()
2879 getCurFunction()->recordUseOfWeak(Result); in BuildIvarRefExpr()
6960 getCurFunction()->setHasBranchProtectedScope(); in BuildCompoundLiteralExpr()
13091 getCurFunction()->markSafeWeakUse(RHS.get()); in CheckAssignmentOperands()
13650 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()
15497 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()
15503 if (Body && getCurFunction()->HasPotentialAvailabilityViolations) in ActOnBlockStmtExpr()
15611 if (getCurFunction()) in ActOnBlockStmtExpr()
15612 getCurFunction()->addBlock(BD); in ActOnBlockStmtExpr()
[all …]
H A DSemaExprMember.cpp1463 S.getCurFunction()->recordUseOfWeak(Result); in LookupMemberExpr()
H A DSemaCodeComplete.cpp2256 if (SemaRef.getCurFunction() && in AddOrdinaryNameResults()
2257 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
5566 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
5569 SwitchStmt *Switch = getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
H A DSemaLookup.cpp4799 if (SemaRef.getCurFunction() && in AddKeywordsToConsumer()
4800 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
H A DSemaExprObjC.cpp2414 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()
3392 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
H A DSemaDecl.cpp7657 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow()
7665 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()
12318 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl()
13148 getCurFunction()->addByrefBlockVar(var); in CheckCompleteVariableDeclaration()
14421 FunctionScopeInfo *FSI = getCurFunction(); in ActOnFinishFunctionBody()
H A DSemaChecking.cpp13047 if (getCurFunction() && in DiagnoseAlwaysNonNullPointer()
13048 !getCurFunction()->ModifiedNonNullParams.count(PV)) { in DiagnoseAlwaysNonNullPointer()
15249 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
H A DSemaOpenMP.cpp445 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()
19386 getCurFunction()->setHasOMPDeclareReductionCombiner(); in ActOnOpenMPDeclareReductionCombinerStart()
H A DTreeTransform.h7711 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h1846 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function