Lines Matching refs:FunctionScopes

396   for (sema::FunctionScopeInfo *FSI : FunctionScopes)  in ~Sema()
1863 if (FunctionScopes.empty() && CachedFunctionScope) { in PushFunctionScope()
1866 FunctionScopes.push_back(CachedFunctionScope.release()); in PushFunctionScope()
1868 FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics())); in PushFunctionScope()
1875 FunctionScopes.push_back(new BlockScopeInfo(getDiagnostics(), in PushBlockScope()
1881 FunctionScopes.push_back(LSI); in PushLambdaScope()
1969 assert(!FunctionScopes.empty() && "mismatched push/pop!"); in PopFunctionScopeInfo()
1971 markEscapingByrefs(*FunctionScopes.back(), *this); in PopFunctionScopeInfo()
1973 PoppedFunctionScopePtr Scope(FunctionScopes.pop_back_val(), in PopFunctionScopeInfo()
2016 if (!FunctionScopes.empty()) in setFunctionHasBranchIntoScope()
2017 FunctionScopes.back()->setHasBranchIntoScope(); in setFunctionHasBranchIntoScope()
2021 if (!FunctionScopes.empty()) in setFunctionHasBranchProtectedScope()
2022 FunctionScopes.back()->setHasBranchProtectedScope(); in setFunctionHasBranchProtectedScope()
2026 if (!FunctionScopes.empty()) in setFunctionHasIndirectGoto()
2027 FunctionScopes.back()->setHasIndirectGoto(); in setFunctionHasIndirectGoto()
2031 if (FunctionScopes.empty()) in getCurBlock()
2034 auto CurBSI = dyn_cast<BlockScopeInfo>(FunctionScopes.back()); in getCurBlock()
2046 if (FunctionScopes.empty()) in getEnclosingFunction()
2049 for (int e = FunctionScopes.size() - 1; e >= 0; --e) { in getEnclosingFunction()
2050 if (isa<sema::BlockScopeInfo>(FunctionScopes[e])) in getEnclosingFunction()
2052 return FunctionScopes[e]; in getEnclosingFunction()
2058 for (auto *Scope : llvm::reverse(FunctionScopes)) { in getEnclosingLambda()
2074 if (FunctionScopes.empty()) in getCurLambda()
2077 auto I = FunctionScopes.rbegin(); in getCurLambda()
2079 auto E = FunctionScopes.rend(); in getCurLambda()
2402 FunctionScopes.push_back(CSI); in PushCapturedRegionScope()
2406 if (FunctionScopes.empty()) in getCurCapturedRegion()
2409 return dyn_cast<CapturedRegionScopeInfo>(FunctionScopes.back()); in getCurCapturedRegion()