Lines Matching refs:FunctionScopes
130 FunctionScopes.push_back(new FunctionScopeInfo(Diags));
266 for (unsigned I = 1, E = FunctionScopes.size(); I != E; ++I) in ~Sema()
267 delete FunctionScopes[I]; in ~Sema()
268 if (FunctionScopes.size() == 1) in ~Sema()
269 delete FunctionScopes[0]; in ~Sema()
1121 if (FunctionScopes.size() == 1) { in PushFunctionScope()
1124 FunctionScopes.back()->Clear(); in PushFunctionScope()
1125 FunctionScopes.push_back(FunctionScopes.back()); in PushFunctionScope()
1129 FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics())); in PushFunctionScope()
1133 FunctionScopes.push_back(new BlockScopeInfo(getDiagnostics(), in PushBlockScope()
1139 FunctionScopes.push_back(LSI); in PushLambdaScope()
1154 FunctionScopeInfo *Scope = FunctionScopes.pop_back_val(); in PopFunctionScopeInfo()
1155 assert(!FunctionScopes.empty() && "mismatched push/pop!"); in PopFunctionScopeInfo()
1164 if (FunctionScopes.back() != Scope) in PopFunctionScopeInfo()
1186 if (FunctionScopes.empty()) in getCurBlock()
1189 auto CurBSI = dyn_cast<BlockScopeInfo>(FunctionScopes.back()); in getCurBlock()
1201 if (FunctionScopes.empty()) in getCurLambda()
1204 auto CurLSI = dyn_cast<LambdaScopeInfo>(FunctionScopes.back()); in getCurLambda()
1508 FunctionScopes.push_back(CSI); in PushCapturedRegionScope()
1512 if (FunctionScopes.empty()) in getCurCapturedRegion()
1515 return dyn_cast<CapturedRegionScopeInfo>(FunctionScopes.back()); in getCurCapturedRegion()