Lines Matching refs:FunctionScopes

418   for (sema::FunctionScopeInfo *FSI : FunctionScopes)  in ~Sema()
1911 if (FunctionScopes.empty() && CachedFunctionScope) { in PushFunctionScope()
1914 FunctionScopes.push_back(CachedFunctionScope.release()); in PushFunctionScope()
1916 FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics())); in PushFunctionScope()
1923 FunctionScopes.push_back(new BlockScopeInfo(getDiagnostics(), in PushBlockScope()
1929 FunctionScopes.push_back(LSI); in PushLambdaScope()
2017 assert(!FunctionScopes.empty() && "mismatched push/pop!"); in PopFunctionScopeInfo()
2019 markEscapingByrefs(*FunctionScopes.back(), *this); in PopFunctionScopeInfo()
2021 PoppedFunctionScopePtr Scope(FunctionScopes.pop_back_val(), in PopFunctionScopeInfo()
2064 if (!FunctionScopes.empty()) in setFunctionHasBranchIntoScope()
2065 FunctionScopes.back()->setHasBranchIntoScope(); in setFunctionHasBranchIntoScope()
2069 if (!FunctionScopes.empty()) in setFunctionHasBranchProtectedScope()
2070 FunctionScopes.back()->setHasBranchProtectedScope(); in setFunctionHasBranchProtectedScope()
2074 if (!FunctionScopes.empty()) in setFunctionHasIndirectGoto()
2075 FunctionScopes.back()->setHasIndirectGoto(); in setFunctionHasIndirectGoto()
2079 if (!FunctionScopes.empty()) in setFunctionHasMustTail()
2080 FunctionScopes.back()->setHasMustTail(); in setFunctionHasMustTail()
2084 if (FunctionScopes.empty()) in getCurBlock()
2087 auto CurBSI = dyn_cast<BlockScopeInfo>(FunctionScopes.back()); in getCurBlock()
2099 if (FunctionScopes.empty()) in getEnclosingFunction()
2102 for (int e = FunctionScopes.size() - 1; e >= 0; --e) { in getEnclosingFunction()
2103 if (isa<sema::BlockScopeInfo>(FunctionScopes[e])) in getEnclosingFunction()
2105 return FunctionScopes[e]; in getEnclosingFunction()
2111 for (auto *Scope : llvm::reverse(FunctionScopes)) { in getEnclosingLambda()
2127 if (FunctionScopes.empty()) in getCurLambda()
2130 auto I = FunctionScopes.rbegin(); in getCurLambda()
2132 auto E = FunctionScopes.rend(); in getCurLambda()
2455 FunctionScopes.push_back(CSI); in PushCapturedRegionScope()
2459 if (FunctionScopes.empty()) in getCurCapturedRegion()
2462 return dyn_cast<CapturedRegionScopeInfo>(FunctionScopes.back()); in getCurCapturedRegion()