Searched refs:FunctionScopes (Results 1 - 8 of 8) sorted by relevance

/external/clang/include/clang/Sema/
H A DSemaLambda.h31 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
H A DSema.h370 SmallVector<sema::FunctionScopeInfo *, 4> FunctionScopes; member in class:clang::Sema
1060 return FunctionScopes.back();
1064 if (FunctionScopes.empty())
1067 for (int e = FunctionScopes.size()-1; e >= 0; --e) {
1068 if (isa<sema::BlockScopeInfo>(FunctionScopes[e]))
1070 return FunctionScopes[e];
/external/clang/lib/Sema/
H A DSema.cpp129 FunctionScopes.push_back(new FunctionScopeInfo(Diags));
224 for (unsigned I = 1, E = FunctionScopes.size(); I != E; ++I)
225 delete FunctionScopes[I];
226 if (FunctionScopes.size() == 1)
227 delete FunctionScopes[0];
1055 if (FunctionScopes.size() == 1) {
1058 FunctionScopes.back()->Clear();
1059 FunctionScopes.push_back(FunctionScopes.back());
1063 FunctionScopes
[all...]
H A DSemaLambda.cpp52 /// \param FunctionScopes - Sema's stack of nested FunctionScopeInfo's (which a
64 ArrayRef<const clang::sema::FunctionScopeInfo *> FunctionScopes,
71 FunctionScopes[FunctionScopes.size() - 1]) &&
79 unsigned CurScopeIndex = FunctionScopes.size() - 1;
81 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex])->CallOperator;
85 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex]);
127 assert(CurScopeIndex < (FunctionScopes.size() - 1));
158 /// \param FunctionScopes - Sema's stack of nested FunctionScopeInfo's (which a
171 ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
63 getStackIndexOfNearestEnclosingCaptureReadyLambda( ArrayRef<const clang::sema::FunctionScopeInfo *> FunctionScopes, VarDecl *VarToCapture) argument
170 getStackIndexOfNearestEnclosingCaptureCapableLambda( ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes, VarDecl *VarToCapture, Sema &S) argument
[all...]
H A DSemaTemplateVariadic.cpp213 for (unsigned N = FunctionScopes.size(); N; --N) {
215 dyn_cast<sema::LambdaScopeInfo>(FunctionScopes[N-1])) {
H A DSemaExprCXX.cpp804 *FunctionScopeIndexToStopAt : FunctionScopes.size() - 1;
809 dyn_cast<CapturingScopeInfo>(FunctionScopes[idx])) {
844 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[idx]);
851 = dyn_cast<CapturedRegionScopeInfo>(FunctionScopes[idx]))
5842 S.FunctionScopes.data(), S.FunctionScopes.size());
6010 // FunctionScopes.size() in InstantiatingTemplate's
6012 // - Teach the handful of places that iterate over FunctionScopes to
H A DSemaStmt.cpp2719 FunctionScopes.back()->Returns.push_back(Result);
3028 FunctionScopes.back()->Returns.push_back(Result);
H A DSemaExpr.cpp10588 BlockScopeInfo *BSI = cast<BlockScopeInfo>(FunctionScopes.back());
12091 ? *FunctionScopeIndexToStopAt : FunctionScopes.size() - 1;
12095 unsigned FSIndex = FunctionScopes.size() - 1;
12129 FunctionScopeInfo *FSI = FunctionScopes[FunctionScopesIndex];
12295 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[I]);
12777 FunctionScopes.back()->PossiblyUnreachableDiags.

Completed in 1391 milliseconds