Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DScopeInfo.cpp26 void FunctionScopeInfo::Clear() { in Clear()
58 FunctionScopeInfo::WeakObjectProfileTy::BaseInfoTy
59 FunctionScopeInfo::WeakObjectProfileTy::getBaseInfo(const Expr *E) { in getBaseInfo()
121 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy( in WeakObjectProfileTy()
136 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy(const Expr *BaseE, in WeakObjectProfileTy()
144 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy( in WeakObjectProfileTy()
150 FunctionScopeInfo::WeakObjectProfileTy::WeakObjectProfileTy( in WeakObjectProfileTy()
155 void FunctionScopeInfo::recordUseOfWeak(const ObjCMessageExpr *Msg, in recordUseOfWeak()
163 void FunctionScopeInfo::markSafeWeakUse(const Expr *E) { in markSafeWeakUse()
185 FunctionScopeInfo::WeakObjectUseMap::iterator Uses; in markSafeWeakUse()
[all …]
DSemaCoroutine.cpp103 static FunctionScopeInfo *
260 static ExprResult buildPromiseCall(Sema &S, FunctionScopeInfo *Coroutine, in buildPromiseCall()
363 FunctionScopeInfo *Fn = getCurFunction(); in CheckCompletedCoroutineBody()
DAnalysisBasedWarnings.cpp1204 const sema::FunctionScopeInfo *CurFn, in diagnoseRepeatedUseOfWeak()
1207 typedef sema::FunctionScopeInfo::WeakObjectProfileTy WeakObjectProfileTy; in diagnoseRepeatedUseOfWeak()
1208 typedef sema::FunctionScopeInfo::WeakObjectUseMap WeakObjectUseMap; in diagnoseRepeatedUseOfWeak()
1209 typedef sema::FunctionScopeInfo::WeakUseVector WeakUseVector; in diagnoseRepeatedUseOfWeak()
1872 static void flushDiagnostics(Sema &S, const sema::FunctionScopeInfo *fscope) { in flushDiagnostics()
1879 sema::FunctionScopeInfo *fscope, in IssueWarnings()
DSema.cpp130 FunctionScopes.push_back(new FunctionScopeInfo(Diags));
1129 FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics())); in PushFunctionScope()
1154 FunctionScopeInfo *Scope = FunctionScopes.pop_back_val(); in PopFunctionScopeInfo()
1173 FunctionScopeInfo *CurFunction = getCurFunction(); in PopCompoundScope()
DSemaLambda.cpp64 ArrayRef<const clang::sema::FunctionScopeInfo *> FunctionScopes, in getStackIndexOfNearestEnclosingCaptureReadyLambda()
171 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes, in getStackIndexOfNearestEnclosingCaptureCapableLambda()
DSemaStmt.cpp3650 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnCXXTryBlock()
3733 sema::FunctionScopeInfo *FSI = getCurFunction(); in ActOnSEHTryBlock()
DSemaExprCXX.cpp876 ArrayRef<FunctionScopeInfo *> FunctionScopes, QualType ThisTy, in adjustCVQualifiersForCXXThisWithinLambda()
6598 ArrayRef<const FunctionScopeInfo *> FunctionScopesArrayRef( in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures()
DSemaExprObjC.cpp2824 FunctionScopeInfo *DIFunctionScopeInfo = in BuildInstanceMessage()
DSemaExpr.cpp10553 if (FunctionScopeInfo *FD = S.getCurFunction()) in RecordModifiableNonNullParam()
13617 FunctionScopeInfo *FSI = FunctionScopes[FunctionScopesIndex]; in tryCaptureVariable()
DSemaOpenMP.cpp11109 FunctionScopeInfo *ParentFn = getEnclosingFunction(); in ActOnOpenMPDeclareReductionDirectiveStart()
DSemaDecl.cpp11379 void Sema::computeNRVO(Stmt *Body, FunctionScopeInfo *Scope) { in computeNRVO()
/external/clang/include/clang/Sema/
DScopeInfo.h81 class FunctionScopeInfo {
314 FunctionScopeInfo(const FunctionScopeInfo&) = default;
376 FunctionScopeInfo(DiagnosticsEngine &Diag) in FunctionScopeInfo() function
391 virtual ~FunctionScopeInfo();
398 class CapturingScopeInfo : public FunctionScopeInfo {
516 : FunctionScopeInfo(Diag), ImpCaptureStyle(Style), CXXThisCaptureIndex(0), in CapturingScopeInfo()
590 static bool classof(const FunctionScopeInfo *FSI) { in classof()
618 static bool classof(const FunctionScopeInfo *FSI) { in classof()
661 static bool classof(const FunctionScopeInfo *FSI) { in classof()
751 static bool classof(const FunctionScopeInfo *FSI) { in classof()
[all …]
DAnalysisBasedWarnings.h28 class FunctionScopeInfo; variable
93 void IssueWarnings(Policy P, FunctionScopeInfo *fscope,
DSemaLambda.h31 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
DSema.h201 class FunctionScopeInfo; variable
466 SmallVector<sema::FunctionScopeInfo *, 4> FunctionScopes;
1187 sema::FunctionScopeInfo *getCurFunction() const { in getCurFunction()
1191 sema::FunctionScopeInfo *getEnclosingFunction() const { in getEnclosingFunction()
1818 void computeNRVO(Stmt *Body, sema::FunctionScopeInfo *Scope);