Lines Matching refs:FunctionScopes

345   for (sema::FunctionScopeInfo *FSI : FunctionScopes)  in ~Sema()
1381 if (FunctionScopes.empty()) { in PushFunctionScope()
1384 FunctionScopes.push_back(PreallocatedFunctionScope.get()); in PushFunctionScope()
1386 FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics())); in PushFunctionScope()
1393 FunctionScopes.push_back(new BlockScopeInfo(getDiagnostics(), in PushBlockScope()
1399 FunctionScopes.push_back(LSI); in PushLambdaScope()
1467 assert(!FunctionScopes.empty() && "mismatched push/pop!"); in PopFunctionScopeInfo()
1473 markEscapingByrefs(*FunctionScopes.back(), *this); in PopFunctionScopeInfo()
1475 FunctionScopeInfo *Scope = FunctionScopes.pop_back_val(); in PopFunctionScopeInfo()
1510 if (!FunctionScopes.empty()) in setFunctionHasBranchIntoScope()
1511 FunctionScopes.back()->setHasBranchIntoScope(); in setFunctionHasBranchIntoScope()
1515 if (!FunctionScopes.empty()) in setFunctionHasBranchProtectedScope()
1516 FunctionScopes.back()->setHasBranchProtectedScope(); in setFunctionHasBranchProtectedScope()
1520 if (!FunctionScopes.empty()) in setFunctionHasIndirectGoto()
1521 FunctionScopes.back()->setHasIndirectGoto(); in setFunctionHasIndirectGoto()
1525 if (FunctionScopes.empty()) in getCurBlock()
1528 auto CurBSI = dyn_cast<BlockScopeInfo>(FunctionScopes.back()); in getCurBlock()
1540 if (FunctionScopes.empty()) in getEnclosingFunction()
1543 for (int e = FunctionScopes.size() - 1; e >= 0; --e) { in getEnclosingFunction()
1544 if (isa<sema::BlockScopeInfo>(FunctionScopes[e])) in getEnclosingFunction()
1546 return FunctionScopes[e]; in getEnclosingFunction()
1552 if (FunctionScopes.empty()) in getCurLambda()
1555 auto I = FunctionScopes.rbegin(); in getCurLambda()
1557 auto E = FunctionScopes.rend(); in getCurLambda()
1878 FunctionScopes.push_back(CSI); in PushCapturedRegionScope()
1882 if (FunctionScopes.empty()) in getCurCapturedRegion()
1885 return dyn_cast<CapturedRegionScopeInfo>(FunctionScopes.back()); in getCurCapturedRegion()