/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | ScopeInfo.cpp | 25 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 D | CoroutineStmtBuilder.h | 27 sema::FunctionScopeInfo &Fn; 37 CoroutineStmtBuilder(Sema &S, FunctionDecl &FD, sema::FunctionScopeInfo &Fn,
|
H A D | AnalysisBasedWarnings.cpp | 669 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 D | SemaCoroutine.cpp | 582 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 D | Sema.cpp | 528 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 D | SemaAvailability.cpp | 1032 FunctionScopeInfo *Sema::getCurFunctionAvailabilityContext() { in getCurFunctionAvailabilityContext() 1065 if (FunctionScopeInfo *Context = getCurFunctionAvailabilityContext()) { in DiagnoseAvailabilityOfDecl()
|
H A D | SemaStmt.cpp | 401 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 D | SemaLambda.cpp | 69 ArrayRef<const clang::sema::FunctionScopeInfo *> FunctionScopes, in getStackIndexOfNearestEnclosingCaptureReadyLambda() 180 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes, in getStackIndexOfNearestEnclosingCaptureCapableLambda()
|
H A D | SemaTemplateVariadic.cpp | 342 sema::FunctionScopeInfo *Func = FunctionScopes[N-1]; in DiagnoseUnexpandedParameterPacks()
|
H A D | SemaObjC.cpp | 230 sema::FunctionScopeInfo *FSI = SemaRef.getCurFunction(); in ActOnObjCAtTryStmt()
|
H A D | SemaOpenMP.cpp | 240 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 D | SemaExprObjC.cpp | 3141 FunctionScopeInfo *DIFunctionScopeInfo = in BuildInstanceMessage() 5186 if (FunctionScopeInfo *Context = SemaRef.getCurFunctionAvailabilityContext()) in ActOnObjCAvailabilityCheckExpr()
|
H A D | SemaDecl.cpp | 13536 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl() 15651 void Sema::computeNRVO(Stmt *Body, FunctionScopeInfo *Scope) { in computeNRVO() 15789 FunctionScopeInfo *FSI = getCurFunction(); in ActOnFinishFunctionBody()
|
H A D | SemaExpr.cpp | 14250 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam() 17284 if (FunctionScopeInfo *FI = getCurFunction()) in MarkExpressionAsImmediateEscalating() 18796 FunctionScopeInfo *FSI = FunctionScopes[FunctionScopesIndex]; in tryCaptureVariable()
|
H A D | SemaExprCXX.cpp | 1116 ArrayRef<FunctionScopeInfo *> FunctionScopes, QualType ThisTy, in adjustCVQualifiersForCXXThisWithinLambda()
|
H A D | SemaTemplate.cpp | 73 for (FunctionScopeInfo *FSI : getFunctionScopes()) { in getTemplateDepth()
|
H A D | SemaType.cpp | 2265 } else if (sema::FunctionScopeInfo *FSI = getCurFunction()) { in BuildArrayType()
|
H A D | SemaDeclCXX.cpp | 2479 FunctionDecl *FD, const sema::FunctionScopeInfo *FSI) { in CheckImmediateEscalatingFunctionDefinition()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 104 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 D | SemaLambda.h | 23 class FunctionScopeInfo; variable 35 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
|
H A D | AnalysisBasedWarnings.h | 27 class FunctionScopeInfo; variable 100 void IssueWarnings(Policy P, FunctionScopeInfo *fscope,
|
H A D | Sema.h | 241 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 D | SemaOpenMP.h | 1388 void popOpenMPFunctionRegion(const sema::FunctionScopeInfo *OldFSI);
|