Lines Matching refs:LocalScope
97 class LocalScope { class
104 const LocalScope* Scope;
119 const_iterator(const LocalScope& S, unsigned I) in const_iterator()
179 LocalScope(BumpVectorContext &ctx, const_iterator P) in LocalScope() function in __anon726f5f560111::LocalScope
193 int LocalScope::const_iterator::distance(LocalScope::const_iterator L) { in distance()
211 BlockScopePosPair(CFGBlock *b, LocalScope::const_iterator scopePos) in BlockScopePosPair()
215 LocalScope::const_iterator scopePosition;
305 LocalScope::const_iterator ScopePos;
438 void addAutomaticObjDtors(LocalScope::const_iterator B,
439 LocalScope::const_iterator E, Stmt *S);
443 LocalScope* createOrReuseLocalScope(LocalScope* Scope);
446 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS,
447 LocalScope* Scope = nullptr);
448 LocalScope* addLocalScopeForVarDecl(VarDecl *VD, LocalScope* Scope = nullptr);
485 LocalScope::const_iterator B, LocalScope::const_iterator E);
1085 void CFGBuilder::addAutomaticObjDtors(LocalScope::const_iterator B, in addAutomaticObjDtors()
1086 LocalScope::const_iterator E, Stmt *S) { in addAutomaticObjDtors()
1099 for (LocalScope::const_iterator I = B; I != E; ++I) in addAutomaticObjDtors()
1171 LocalScope* CFGBuilder::createOrReuseLocalScope(LocalScope* Scope) { in createOrReuseLocalScope()
1174 Scope = alloc.Allocate<LocalScope>(); in createOrReuseLocalScope()
1176 new (Scope) LocalScope(ctx, ScopePos); in createOrReuseLocalScope()
1187 LocalScope *Scope = nullptr; in addLocalScopeForStmt()
1207 LocalScope* CFGBuilder::addLocalScopeForDeclStmt(DeclStmt *DS, in addLocalScopeForDeclStmt()
1208 LocalScope* Scope) { in addLocalScopeForDeclStmt()
1221 LocalScope* CFGBuilder::addLocalScopeForVarDecl(VarDecl *VD, in addLocalScopeForVarDecl()
1222 LocalScope* Scope) { in addLocalScopeForVarDecl()
1281 LocalScope::const_iterator scopeBeginPos = ScopePos; in addLocalScopeAndDtors()
1294 LocalScope::const_iterator B, LocalScope::const_iterator E) { in prependAutomaticObjDtorsWithTerminator()
1298 for (LocalScope::const_iterator I = B; I != E; ++I) in prependAutomaticObjDtorsWithTerminator()
2037 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitIfStmt()
2042 LocalScope::const_iterator BeginScopePos = ScopePos; in VisitIfStmt()
2161 addAutomaticObjDtors(ScopePos, LocalScope::const_iterator(), R); in VisitReturnStmt()
2242 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitForStmt()
2249 LocalScope::const_iterator LoopBeginScopePos = ScopePos; in VisitForStmt()
2253 LocalScope::const_iterator ContinueScopePos = ScopePos; in VisitForStmt()
2587 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitWhileStmt()
2591 LocalScope::const_iterator LoopBeginScopePos = ScopePos; in VisitWhileStmt()
2916 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitSwitchStmt()
2921 LocalScope::const_iterator SwitchBeginScopePos = ScopePos; in VisitSwitchStmt()
3199 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitCXXCatchStmt()
3204 LocalScope::const_iterator BeginScopePos = ScopePos; in VisitCXXCatchStmt()
3251 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitCXXForRangeStmt()
3260 LocalScope::const_iterator ContinueScopePos = ScopePos; in VisitCXXForRangeStmt()