Lines Matching refs:FunctionScopes

442   for (sema::FunctionScopeInfo *FSI : FunctionScopes)  in ~Sema()
1969 if (FunctionScopes.empty() && CachedFunctionScope) { in PushFunctionScope()
1972 FunctionScopes.push_back(CachedFunctionScope.release()); in PushFunctionScope()
1974 FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics())); in PushFunctionScope()
1981 FunctionScopes.push_back(new BlockScopeInfo(getDiagnostics(), in PushBlockScope()
1987 FunctionScopes.push_back(LSI); in PushLambdaScope()
2087 assert(!FunctionScopes.empty() && "mismatched push/pop!"); in PopFunctionScopeInfo()
2089 markEscapingByrefs(*FunctionScopes.back(), *this); in PopFunctionScopeInfo()
2091 PoppedFunctionScopePtr Scope(FunctionScopes.pop_back_val(), in PopFunctionScopeInfo()
2134 if (!FunctionScopes.empty()) in setFunctionHasBranchIntoScope()
2135 FunctionScopes.back()->setHasBranchIntoScope(); in setFunctionHasBranchIntoScope()
2139 if (!FunctionScopes.empty()) in setFunctionHasBranchProtectedScope()
2140 FunctionScopes.back()->setHasBranchProtectedScope(); in setFunctionHasBranchProtectedScope()
2144 if (!FunctionScopes.empty()) in setFunctionHasIndirectGoto()
2145 FunctionScopes.back()->setHasIndirectGoto(); in setFunctionHasIndirectGoto()
2149 if (!FunctionScopes.empty()) in setFunctionHasMustTail()
2150 FunctionScopes.back()->setHasMustTail(); in setFunctionHasMustTail()
2154 if (FunctionScopes.empty()) in getCurBlock()
2157 auto CurBSI = dyn_cast<BlockScopeInfo>(FunctionScopes.back()); in getCurBlock()
2169 if (FunctionScopes.empty()) in getEnclosingFunction()
2172 for (int e = FunctionScopes.size() - 1; e >= 0; --e) { in getEnclosingFunction()
2173 if (isa<sema::BlockScopeInfo>(FunctionScopes[e])) in getEnclosingFunction()
2175 return FunctionScopes[e]; in getEnclosingFunction()
2181 for (auto *Scope : llvm::reverse(FunctionScopes)) { in getEnclosingLambda()
2197 if (FunctionScopes.empty()) in getCurLambda()
2200 auto I = FunctionScopes.rbegin(); in getCurLambda()
2202 auto E = FunctionScopes.rend(); in getCurLambda()
2525 FunctionScopes.push_back(CSI); in PushCapturedRegionScope()
2529 if (FunctionScopes.empty()) in getCurCapturedRegion()
2532 return dyn_cast<CapturedRegionScopeInfo>(FunctionScopes.back()); in getCurCapturedRegion()