Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScopeInfo.cpp24 void FunctionScopeInfo::Clear() { in Clear()
70 FunctionScopeInfo::WeakObjectProfileTy::BaseInfoTy
71 FunctionScopeInfo::WeakObjectProfileTy::getBaseInfo(const Expr *E) { in getBaseInfo()
118 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy( in WeakObjectProfileTy()
133 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy(const Expr *BaseE, in WeakObjectProfileTy()
141 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy( in WeakObjectProfileTy()
147 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy( in WeakObjectProfileTy()
152 void FunctionScopeInfo::recordUseOfWeak(const ObjCMessageExpr *Msg, in recordUseOfWeak()
160 void FunctionScopeInfo::markSafeWeakUse(const Expr *E) { in markSafeWeakUse()
182 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 DSemaCoroutine.cpp570 static FunctionScopeInfo *checkCoroutineContext(Sema &S, SourceLocation Loc, in checkCoroutineContext()
677 static void checkReturnStmtInCoroutine(Sema &S, FunctionScopeInfo *FSI) { in checkReturnStmtInCoroutine()
1165 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()
1225 sema::FunctionScopeInfo &Fn, in CoroutineStmtBuilder()
1284 FunctionScopeInfo &Fn) { in diagReturnOnAllocFailure()
1812 static void noteMemberDeclaredHere(Sema &S, Expr *E, FunctionScopeInfo &Fn) { in noteMemberDeclaredHere()
H A DAnalysisBasedWarnings.cpp1514 const sema::FunctionScopeInfo *CurFn, in diagnoseRepeatedUseOfWeak()
1517 typedef sema::FunctionScopeInfo::WeakObjectProfileTy WeakObjectProfileTy; in diagnoseRepeatedUseOfWeak()
1518 typedef sema::FunctionScopeInfo::WeakObjectUseMap WeakObjectUseMap; in diagnoseRepeatedUseOfWeak()
1519 typedef sema::FunctionScopeInfo::WeakUseVector WeakUseVector; in diagnoseRepeatedUseOfWeak()
2727 static void flushDiagnostics(Sema &S, const sema::FunctionScopeInfo *fscope) { in CallableVisitor()
2844 sema::AnalysisBasedWarnings::Policy P, sema::FunctionScopeInfo *fscope, in IssueWarnings()
H A DSema.cpp599 for (sema::FunctionScopeInfo *FSI : FunctionScopes) in ~Sema()
2336 FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics())); in PushFunctionScope()
2403 static void markEscapingByrefs(const FunctionScopeInfo &FSI, Sema &S) { in markEscapingByrefs()
2466 operator()(sema::FunctionScopeInfo *Scope) const { in operator ()()
2482 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()
2527 FunctionScopeInfo *Sema::getEnclosingFunction() const { in getEnclosingFunction()
H A DSemaAvailability.cpp1101 FunctionScopeInfo *Sema::getCurFunctionAvailabilityContext() { in getCurFunctionAvailabilityContext()
1135 if (FunctionScopeInfo *Context = getCurFunctionAvailabilityContext()) { in DiagnoseAvailabilityOfDecl()
H A DSemaStmt.cpp432 FunctionScopeInfo *FSI = getCurFunction(); in ActOnAfterCompoundStatementLeadingPragmas()
1210 FunctionScopeInfo::SwitchInfo(SS, false)); in ActOnStartOfSwitchStmt()
3858 FunctionScopeInfo *FSI = getCurFunction(); in ActOnReturnStmt()
4327 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnCXXTryBlock()
4435 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnSEHTryBlock()
4443 << (FSI->FirstTryType == sema::FunctionScopeInfo::TryLocIsCXX in ActOnSEHTryBlock()
H A DSemaLambda.cpp71 ArrayRef<const clang::sema::FunctionScopeInfo *> FunctionScopes, in getStackIndexOfNearestEnclosingCaptureReadyLambda()
181 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes, in getStackIndexOfNearestEnclosingCaptureCapableLambda()
2456 for (FunctionScopeInfo *Scope : llvm::reverse(FunctionScopes)) { in addInstantiatedCapturesToScope()
H A DSemaTemplateVariadic.cpp398 sema::FunctionScopeInfo *Func = FunctionScopes[N-1]; in DiagnoseUnexpandedParameterPacks()
H A DSemaObjC.cpp226 sema::FunctionScopeInfo *FSI = SemaRef.getCurFunction(); in ActOnObjCAtTryStmt()
H A DSemaExprObjC.cpp3130 FunctionScopeInfo *DIFunctionScopeInfo = in BuildInstanceMessage()
5185 if (FunctionScopeInfo *Context = SemaRef.getCurFunctionAvailabilityContext()) in ActOnObjCAvailabilityCheckExpr()
H A DSemaOpenMP.cpp237 const FunctionScopeInfo *CurrentNonCapturingFunctionScope = nullptr;
238 SmallVector<std::pair<StackTy, const FunctionScopeInfo *>, 4> Stack;
475 const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction(); in pushFunction()
480 void popFunction(const FunctionScopeInfo *OldFSI) { in popFunction()
488 for (const FunctionScopeInfo *FSI : llvm::reverse(SemaRef.FunctionScopes)) { in popFunction()
2010 void SemaOpenMP::popOpenMPFunctionRegion(const FunctionScopeInfo *OldFSI) { in popOpenMPFunctionRegion()
2365 for (FunctionScopeInfo *FSI : llvm::drop_begin( in isOpenMPCapturedDecl()
2397 FunctionScopeInfo *FSI = SemaRef.FunctionScopes[I - 1]; in isOpenMPCapturedDecl()
22237 FunctionScopeInfo *ParentFn = SemaRef.getEnclosingFunction(); in ActOnOpenMPDeclareReductionDirectiveStart()
22491 FunctionScopeInfo *ParentFn = SemaRef.getEnclosingFunction(); in ActOnOpenMPDeclareMapperDirective()
H A DSemaDecl.cpp13881 if (FunctionScopeInfo *FSI = getCurFunction()) in AddInitializerToDecl()
16089 void Sema::computeNRVO(Stmt *Body, FunctionScopeInfo *Scope) { in computeNRVO()
16231 FunctionScopeInfo *FSI = getCurFunction(); in ActOnFinishFunctionBody()
H A DSemaExpr.cpp14646 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()
17702 if (FunctionScopeInfo *FI = getCurFunction()) in MarkExpressionAsImmediateEscalating()
19257 FunctionScopeInfo *FSI = FunctionScopes[FunctionScopesIndex]; in tryCaptureVariable()
H A DSemaExprCXX.cpp1098 ArrayRef<FunctionScopeInfo *> FunctionScopes, QualType ThisTy, in adjustCVQualifiersForCXXThisWithinLambda()
H A DSemaType.cpp2290 } else if (sema::FunctionScopeInfo *FSI = getCurFunction()) { in BuildArrayType()
H A DSemaTemplate.cpp70 for (FunctionScopeInfo *FSI : getFunctionScopes()) { in getTemplateDepth()
H A DSemaDeclCXX.cpp2569 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()
783 static bool classof(const FunctionScopeInfo *FSI) { in classof()
810 static bool classof(const FunctionScopeInfo *FSI) { in classof()
862 static bool classof(const FunctionScopeInfo *FSI) { in classof()
965 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
104 void IssueWarnings(Policy P, FunctionScopeInfo *fscope,
H A DSemaOpenMP.h40 class FunctionScopeInfo; variable
1465 void popOpenMPFunctionRegion(const sema::FunctionScopeInfo *OldFSI);
H A DSema.h205 class FunctionScopeInfo; variable
1040 void operator()(sema::FunctionScopeInfo *Scope) const;
1044 std::unique_ptr<sema::FunctionScopeInfo, PoppedFunctionScopeDeleter>;
1059 sema::FunctionScopeInfo *getEnclosingFunction() const;
1203 std::unique_ptr<sema::FunctionScopeInfo> CachedFunctionScope;
1207 SmallVector<sema::FunctionScopeInfo *, 4> FunctionScopes;
1298 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction()
2405 sema::FunctionScopeInfo *getCurFunctionAvailabilityContext();
4174 void computeNRVO(Stmt *Body, sema::FunctionScopeInfo *Scope);
5617 FunctionDecl *FD, const sema::FunctionScopeInfo *FSI);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc4620 {"_ZN5clang4sema17FunctionScopeInfoD0Ev", "clang::sema::FunctionScopeInfo::~FunctionScopeInfo()"},
4621 {"_ZN5clang4sema17FunctionScopeInfoD1Ev", "clang::sema::FunctionScopeInfo::~FunctionScopeInfo()"},
4622 {"_ZN5clang4sema17FunctionScopeInfoD2Ev", "clang::sema::FunctionScopeInfo::~FunctionScopeInfo()"},
4623 {"_ZN5clang4sema17FunctionScopeInfo5ClearEv", "clang::sema::FunctionScopeInfo::Clear()"},
25137 {"_ZTVN5clang4sema17FunctionScopeInfoE", "vtable for clang::sema::FunctionScopeInfo"},