Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp396 FunctionScopeInfo *FSI = getCurFunction(); in ActOnAfterCompoundStatementLeadingPragmas()
407 return getCurFunction()->CompoundScopes.back(); in getCurCompoundScope()
468 if (getCurFunction()->SwitchStack.empty()) in ActOnCaseExpr()
519 if (getCurFunction()->SwitchStack.empty()) { in ActOnCaseStmt()
543 if (getCurFunction()->SwitchStack.empty()) { in ActOnDefaultStmt()
1125 getCurFunction()->SwitchStack.push_back( in ActOnStartOfSwitchStmt()
1229 getCurFunction()->SwitchStack.pop_back(); in ActOnFinishSwitchStmt()
3959 if (isa<CapturingScopeInfo>(getCurFunction())) in BuildReturnStmt()
4253 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnObjCAtTryStmt()
4510 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnCXXTryBlock()
[all …]
H A DSemaCoroutine.cpp590 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise()
678 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext()
782 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart()
1013 *this, getCurFunction()->CoroutinePromise, Loc, "yield_value", E); in ActOnCoyieldExpr()
1182 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()
1959 auto *ScopeInfo = getCurFunction(); in buildCoroutineParameterMoves()
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 DSemaStmtAttr.cpp38 auto *FnScope = S.getCurFunction(); in handleFallThroughAttr()
H A DSema.cpp2306 getCurFunction()->CompoundScopes.push_back( in PushCompoundScope()
2311 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()
2320 return getCurFunction()->hasUnrecoverableErrorOccurred(); in hasAnyUnrecoverableErrorsInThisFunction()
H A DSemaPseudoObject.cpp857 S.getCurFunction()->markSafeWeakUse(RefExpr); in buildRValueOperation()
976 S.getCurFunction()->recordUseOfWeak(SyntacticRefExpr, in complete()
H A DSemaExpr.cpp347 << getCurFunction()->HasOMPDeclareReductionCombiner; in DiagnoseUseOfDecl()
2313 getCurFunction()->recordUseOfWeak(E); in BuildDeclRefExpr()
3151 getCurFunction()->recordUseOfWeak(Result); in BuildIvarRefExpr()
7888 getCurFunction()->setHasBranchProtectedScope(); in BuildCompoundLiteralExpr()
15248 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()
16619 if (getCurFunction()) in ActOnAddrLabel()
16620 getCurFunction()->AddrLabels.push_back(Res); in ActOnAddrLabel()
17166 if (getCurFunction()->NeedsScopeChecking() && in ActOnBlockStmtExpr()
17281 if (getCurFunction()) in ActOnBlockStmtExpr()
17282 getCurFunction()->addBlock(BD); in ActOnBlockStmtExpr()
[all …]
H A DSemaConcept.cpp129 !dyn_cast_if_present<LambdaScopeInfo>(getCurFunction())) || in CheckConstraintExpression()
H A DSemaExprMember.cpp1513 S.getCurFunction()->recordUseOfWeak(Result); in LookupMemberExpr()
H A DSemaLookup.cpp5151 if (SemaRef.getCurFunction() && in AddKeywordsToConsumer()
5152 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddKeywordsToConsumer()
H A DSemaExprObjC.cpp2414 getCurFunction()->ObjCShouldCallSuper = false; in ActOnSuperMessage()
3391 getCurFunction()->recordUseOfWeak(Result, Prop); in BuildInstanceMessage()
H A DSemaCodeComplete.cpp2353 if (SemaRef.getCurFunction() && in AddOrdinaryNameResults()
2354 !SemaRef.getCurFunction()->SwitchStack.empty()) { in AddOrdinaryNameResults()
5979 if (getCurFunction()->SwitchStack.empty() || !CodeCompleter) in CodeCompleteCase()
5982 SwitchStmt *Switch = getCurFunction()->SwitchStack.back().getPointer(); in CodeCompleteCase()
H A DSemaDecl.cpp8403 const auto *LSI = cast<LambdaScopeInfo>(getCurFunction()); in CheckShadow()
8415 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()
8426 cast<LambdaScopeInfo>(getCurFunction()) in CheckShadow()
13724 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl()
14518 getCurFunction()->addByrefBlockVar(var); in CheckCompleteVariableDeclaration()
16003 FunctionScopeInfo *FSI = getCurFunction(); in ActOnFinishFunctionBody()
H A DSemaChecking.cpp16493 if (getCurFunction() && in DiagnoseAlwaysNonNullPointer()
16494 !getCurFunction()->ModifiedNonNullParams.count(PV)) { in DiagnoseAlwaysNonNullPointer()
18773 getCurFunction()->markSafeWeakUse(LHS); in checkUnsafeExprAssigns()
H A DSemaType.cpp2718 } else if (sema::FunctionScopeInfo *FSI = getCurFunction()) { in BuildArrayType()
H A DSemaOpenMP.cpp473 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()
22584 getCurFunction()->setHasOMPDeclareReductionCombiner(); in ActOnOpenMPDeclareReductionCombinerStart()
H A DTreeTransform.h8098 auto *ScopeInfo = SemaRef.getCurFunction(); in TransformCoroutineBodyStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h1119 S.CheckImmediateEscalatingFunctionDefinition(FD, S.getCurFunction()); in ~SynthesizedFunctionScope()
2025 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction() function