Searched refs:FunctionScopes (Results 1 - 9 of 9) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaLambda.h | 34 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
|
H A D | Sema.h | 678 SmallVector<sema::FunctionScopeInfo *, 4> FunctionScopes; member in class:clang::final 685 return llvm::makeArrayRef(FunctionScopes.begin() + FunctionScopesStart, 686 FunctionScopes.end()); 693 /// the FunctionScopes stack. 894 // Any saved FunctionScopes do not refer to this context. 895 S.FunctionScopesStart = S.FunctionScopes.size(); 1609 return FunctionScopes.empty() ? nullptr : FunctionScopes.back();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | Sema.cpp | 386 for (sema::FunctionScopeInfo *FSI : FunctionScopes) 1810 if (FunctionScopes.empty() && CachedFunctionScope) { 1813 FunctionScopes.push_back(CachedFunctionScope.release()); 1815 FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics())); 1822 FunctionScopes.push_back(new BlockScopeInfo(getDiagnostics(), 1828 FunctionScopes.push_back(LSI); 1916 assert(!FunctionScopes.empty() && "mismatched push/pop!"); 1918 markEscapingByrefs(*FunctionScopes.back(), *this); 1920 PoppedFunctionScopePtr Scope(FunctionScopes.pop_back_val(), 1963 if (!FunctionScopes [all...] |
H A D | SemaLambda.cpp | 52 /// \param FunctionScopes - Sema's stack of nested FunctionScopeInfo's (which a 64 ArrayRef<const clang::sema::FunctionScopeInfo *> FunctionScopes, 70 unsigned CurScopeIndex = FunctionScopes.size() - 1; 72 FunctionScopes[CurScopeIndex])) 75 isa<clang::sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex]) && 84 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex])->CallOperator; 88 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex]); 130 assert(CurScopeIndex < (FunctionScopes.size() - 1)); 161 /// \param FunctionScopes - Sema's stack of nested FunctionScopeInfo's (which a 174 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes, 63 getStackIndexOfNearestEnclosingCaptureReadyLambda( ArrayRef<const clang::sema::FunctionScopeInfo *> FunctionScopes, VarDecl *VarToCapture) argument 173 getStackIndexOfNearestEnclosingCaptureCapableLambda( ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes, VarDecl *VarToCapture, Sema &S) argument [all...] |
H A D | SemaTemplateVariadic.cpp | 281 for (auto *SI : FunctionScopes) 329 for (unsigned N = FunctionScopes.size(); N; --N) { 330 sema::FunctionScopeInfo *Func = FunctionScopes[N-1];
|
H A D | SemaExprCXX.cpp | 1046 ArrayRef<FunctionScopeInfo *> FunctionScopes, QualType ThisTy, 1089 for (int I = FunctionScopes.size(); 1090 I-- && isa<LambdaScopeInfo>(FunctionScopes[I]) && 1092 cast<LambdaScopeInfo>(FunctionScopes[I])->CallOperator); 1094 CurLSI = cast<LambdaScopeInfo>(FunctionScopes[I]); 1185 return adjustCVQualifiersForCXXThisWithinLambda(FunctionScopes, ThisTy, 1231 : FunctionScopes.size() - 1; 1235 // MaxFunctionScopesIndex-deep on the FunctionScopes stack. 1243 // For a closure 'L' (at MaxFunctionScopesIndex in the FunctionScopes 1259 dyn_cast<CapturingScopeInfo>(FunctionScopes[id 1045 adjustCVQualifiersForCXXThisWithinLambda( ArrayRef<FunctionScopeInfo *> FunctionScopes, QualType ThisTy, DeclContext *CurSemaContext, ASTContext &ASTCtx) argument [all...] |
H A D | SemaStmt.cpp | 3424 FunctionScopes.back()->Returns.push_back(Result); 3426 if (FunctionScopes.back()->FirstReturnLoc.isInvalid()) 3427 FunctionScopes.back()->FirstReturnLoc = ReturnLoc; 3849 FunctionScopes.back()->Returns.push_back(Result); 3851 if (FunctionScopes.back()->FirstReturnLoc.isInvalid()) 3852 FunctionScopes.back()->FirstReturnLoc = ReturnLoc;
|
H A D | SemaExpr.cpp | 4387 if (T->isVariablyModifiedType() && FunctionScopes.size() > 1) { 4389 for (auto I = FunctionScopes.rbegin(), 4390 E = std::prev(FunctionScopes.rend()); 5527 FunctionScopes.size() > 1) { 5530 for (auto I = FunctionScopes.rbegin(), 5531 E = std::prev(FunctionScopes.rend()); 15135 BlockScopeInfo *BSI = cast<BlockScopeInfo>(FunctionScopes.back()); 17199 ? *FunctionScopeIndexToStopAt : FunctionScopes.size() - 1; 17203 unsigned FSIndex = FunctionScopes.size() - 1; 17255 FunctionScopeInfo *FSI = FunctionScopes[FunctionScopesInde [all...] |
H A D | SemaOpenMP.cpp | 449 for (const FunctionScopeInfo *FSI : llvm::reverse(SemaRef.FunctionScopes)) { 2152 llvm::reverse(FunctionScopes), 2153 CheckScopeInfo ? (FunctionScopes.size() - (StopAt + 1)) : 0)) { 2173 FunctionScopeInfo *FSI = FunctionScopes[I - 1];
|
Completed in 328 milliseconds