Home
last modified time | relevance | path

Searched refs:FunctionScopeInfo (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScopeInfo.cpp25 void FunctionScopeInfo::Clear() { in Clear()
71 FunctionScopeInfo::WeakObjectProfileTy::BaseInfoTy
72 FunctionScopeInfo::WeakObjectProfileTy::getBaseInfo(const Expr *E) { in getBaseInfo()
119 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy( in WeakObjectProfileTy()
134 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy(const Expr *BaseE, in WeakObjectProfileTy()
142 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy( in WeakObjectProfileTy()
148 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy( in WeakObjectProfileTy()
153 void FunctionScopeInfo::recordUseOfWeak(const ObjCMessageExpr *Msg, in recordUseOfWeak()
161 void FunctionScopeInfo::markSafeWeakUse(const Expr *E) { in markSafeWeakUse()
183 FunctionScopeInfo::WeakObjectUseMap::iterator Uses = WeakObjectUses.end(); in markSafeWeakUse()
[all …]
H A DCoroutineStmtBuilder.h27 sema::FunctionScopeInfo &Fn;
37 CoroutineStmtBuilder(Sema &S, FunctionDecl &FD, sema::FunctionScopeInfo &Fn,
H A DAnalysisBasedWarnings.cpp669 sema::FunctionScopeInfo *FSI) { in CheckFallThroughForBody()
1374 const sema::FunctionScopeInfo *CurFn, in diagnoseRepeatedUseOfWeak()
1377 typedef sema::FunctionScopeInfo::WeakObjectProfileTy WeakObjectProfileTy; in diagnoseRepeatedUseOfWeak()
1378 typedef sema::FunctionScopeInfo::WeakObjectUseMap WeakObjectUseMap; in diagnoseRepeatedUseOfWeak()
1379 typedef sema::FunctionScopeInfo::WeakUseVector WeakUseVector; in diagnoseRepeatedUseOfWeak()
2459 static void flushDiagnostics(Sema &S, const sema::FunctionScopeInfo *fscope) { in flushDiagnostics()
2557 sema::AnalysisBasedWarnings::Policy P, sema::FunctionScopeInfo *fscope, in IssueWarnings()
H A DSemaCoroutine.cpp582 static FunctionScopeInfo *checkCoroutineContext(Sema &S, SourceLocation Loc, in checkCoroutineContext()
1092 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()
1158 sema::FunctionScopeInfo &Fn, in CoroutineStmtBuilder()
1217 FunctionScopeInfo &Fn) { in diagReturnOnAllocFailure()
1727 static void noteMemberDeclaredHere(Sema &S, Expr *E, FunctionScopeInfo &Fn) { in noteMemberDeclaredHere()
H A DSema.cpp528 for (sema::FunctionScopeInfo *FSI : FunctionScopes) in ~Sema()
2170 FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics())); in PushFunctionScope()
2237 static void markEscapingByrefs(const FunctionScopeInfo &FSI, Sema &S) { in markEscapingByrefs()
2299 operator()(sema::FunctionScopeInfo *Scope) const { in operator ()()
2315 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()
2360 FunctionScopeInfo *Sema::getEnclosingFunction() const { in getEnclosingFunction()
H A DSemaAvailability.cpp1032 FunctionScopeInfo *Sema::getCurFunctionAvailabilityContext() { in getCurFunctionAvailabilityContext()
1065 if (FunctionScopeInfo *Context = getCurFunctionAvailabilityContext()) { in DiagnoseAvailabilityOfDecl()
H A DSemaStmt.cpp401 FunctionScopeInfo *FSI = getCurFunction(); in ActOnAfterCompoundStatementLeadingPragmas()
1149 FunctionScopeInfo::SwitchInfo(SS, false)); in ActOnStartOfSwitchStmt()
4212 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnCXXTryBlock()
4303 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnSEHTryBlock()
4311 << (FSI->FirstTryType == sema::FunctionScopeInfo::TryLocIsCXX in ActOnSEHTryBlock()
H A DSemaLambda.cpp69 ArrayRef<const clang::sema::FunctionScopeInfo *> FunctionScopes, in getStackIndexOfNearestEnclosingCaptureReadyLambda()
180 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes, in getStackIndexOfNearestEnclosingCaptureCapableLambda()
H A DSemaTemplateVariadic.cpp342 sema::FunctionScopeInfo *Func = FunctionScopes[N-1]; in DiagnoseUnexpandedParameterPacks()
H A DSemaObjC.cpp230 sema::FunctionScopeInfo *FSI = SemaRef.getCurFunction(); in ActOnObjCAtTryStmt()
H A DSemaOpenMP.cpp240 const FunctionScopeInfo *CurrentNonCapturingFunctionScope = nullptr;
241 SmallVector<std::pair<StackTy, const FunctionScopeInfo *>, 4> Stack;
478 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()
483 void popFunction(const FunctionScopeInfo *OldFSI) { in popFunction()
491 for (const FunctionScopeInfo *FSI : llvm::reverse(SemaRef.FunctionScopes)) { in popFunction()
2034 void SemaOpenMP::popOpenMPFunctionRegion(const FunctionScopeInfo *OldFSI) { in popOpenMPFunctionRegion()
2389 for (FunctionScopeInfo *FSI : llvm::drop_begin( in isOpenMPCapturedDecl()
2421 FunctionScopeInfo *FSI = SemaRef.FunctionScopes[I - 1]; in isOpenMPCapturedDecl()
21339 FunctionScopeInfo *ParentFn = SemaRef.getEnclosingFunction(); in ActOnOpenMPDeclareReductionDirectiveStart()
21595 FunctionScopeInfo *ParentFn = SemaRef.getEnclosingFunction(); in ActOnOpenMPDeclareMapperDirective()
H A DSemaExprObjC.cpp3141 FunctionScopeInfo *DIFunctionScopeInfo = in BuildInstanceMessage()
5186 if (FunctionScopeInfo *Context = SemaRef.getCurFunctionAvailabilityContext()) in ActOnObjCAvailabilityCheckExpr()
H A DSemaDecl.cpp13536 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl()
15651 void Sema::computeNRVO(Stmt *Body, FunctionScopeInfo *Scope) { in computeNRVO()
15789 FunctionScopeInfo *FSI = getCurFunction(); in ActOnFinishFunctionBody()
H A DSemaExpr.cpp14250 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()
17284 if (FunctionScopeInfo *FI = getCurFunction()) in MarkExpressionAsImmediateEscalating()
18796 FunctionScopeInfo *FSI = FunctionScopes[FunctionScopesIndex]; in tryCaptureVariable()
H A DSemaExprCXX.cpp1116 ArrayRef<FunctionScopeInfo *> FunctionScopes, QualType ThisTy, in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaTemplate.cpp73 for (FunctionScopeInfo *FSI : getFunctionScopes()) { in getTemplateDepth()
H A DSemaType.cpp2265 } else if (sema::FunctionScopeInfo *FSI = getCurFunction()) { in BuildArrayType()
H A DSemaDeclCXX.cpp2479 FunctionDecl *FD, const sema::FunctionScopeInfo *FSI) { in CheckImmediateEscalatingFunctionDefinition()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScopeInfo.h104 class FunctionScopeInfo {
389 FunctionScopeInfo(const FunctionScopeInfo&) = default;
392 FunctionScopeInfo(DiagnosticsEngine &Diag) in FunctionScopeInfo() function
403 virtual ~FunctionScopeInfo();
698 class CapturingScopeInfo : public FunctionScopeInfo {
711 : FunctionScopeInfo(Diag), ImpCaptureStyle(Style) {} in CapturingScopeInfo()
777 static bool classof(const FunctionScopeInfo *FSI) { in classof()
804 static bool classof(const FunctionScopeInfo *FSI) { in classof()
856 static bool classof(const FunctionScopeInfo *FSI) { in classof()
962 static bool classof(const FunctionScopeInfo *FSI) { in classof()
[all …]
H A DSemaLambda.h23 class FunctionScopeInfo; variable
35 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
H A DAnalysisBasedWarnings.h27 class FunctionScopeInfo; variable
100 void IssueWarnings(Policy P, FunctionScopeInfo *fscope,
H A DSema.h241 class FunctionScopeInfo; variable
739 void operator()(sema::FunctionScopeInfo *Scope) const;
743 std::unique_ptr<sema::FunctionScopeInfo, PoppedFunctionScopeDeleter>;
758 sema::FunctionScopeInfo *getEnclosingFunction() const;
936 std::unique_ptr<sema::FunctionScopeInfo> CachedFunctionScope;
940 SmallVector<sema::FunctionScopeInfo *, 4> FunctionScopes;
1033 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction()
2082 sema::FunctionScopeInfo *getCurFunctionAvailabilityContext();
3760 void computeNRVO(Stmt *Body, sema::FunctionScopeInfo *Scope);
5202 FunctionDecl *FD, const sema::FunctionScopeInfo *FSI);
[all …]
H A DSemaOpenMP.h1388 void popOpenMPFunctionRegion(const sema::FunctionScopeInfo *OldFSI);