Lines Matching refs:FunctionScopes
115 FunctionScopes.push_back(new FunctionScopeInfo(Diags));
181 for (unsigned I = 1, E = FunctionScopes.size(); I != E; ++I)
182 delete FunctionScopes[I];
183 if (FunctionScopes.size() == 1)
184 delete FunctionScopes[0];
995 if (FunctionScopes.size() == 1) {
998 FunctionScopes.back()->Clear();
999 FunctionScopes.push_back(FunctionScopes.back());
1003 FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics()));
1007 FunctionScopes.push_back(new BlockScopeInfo(getDiagnostics(),
1013 FunctionScopes.push_back(new LambdaScopeInfo(getDiagnostics(), Lambda,
1019 FunctionScopeInfo *Scope = FunctionScopes.pop_back_val();
1020 assert(!FunctionScopes.empty() && "mismatched push/pop!");
1035 if (FunctionScopes.back() != Scope) {
1058 if (FunctionScopes.empty())
1061 return dyn_cast<BlockScopeInfo>(FunctionScopes.back());
1065 if (FunctionScopes.empty())
1068 return dyn_cast<LambdaScopeInfo>(FunctionScopes.back());