Lines Matching refs:LocalScope
169 class LocalScope { class
176 const LocalScope* Scope;
191 const_iterator(const LocalScope& S, unsigned I) in const_iterator()
251 LocalScope(BumpVectorContext ctx, const_iterator P) in LocalScope() function in __anonddca03440111::LocalScope
265 int LocalScope::const_iterator::distance(LocalScope::const_iterator L) { in distance()
283 BlockScopePosPair(CFGBlock *b, LocalScope::const_iterator scopePos) in BlockScopePosPair()
287 LocalScope::const_iterator scopePosition;
382 LocalScope::const_iterator ScopePos;
580 void addAutomaticObjDtors(LocalScope::const_iterator B,
581 LocalScope::const_iterator E, Stmt *S);
585 LocalScope* createOrReuseLocalScope(LocalScope* Scope);
588 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS,
589 LocalScope* Scope = nullptr);
590 LocalScope* addLocalScopeForVarDecl(VarDecl *VD, LocalScope* Scope = nullptr);
627 LocalScope::const_iterator B, LocalScope::const_iterator E);
1213 void CFGBuilder::addAutomaticObjDtors(LocalScope::const_iterator B, in addAutomaticObjDtors()
1214 LocalScope::const_iterator E, Stmt *S) { in addAutomaticObjDtors()
1227 for (LocalScope::const_iterator I = B; I != E; ++I) in addAutomaticObjDtors()
1298 LocalScope* CFGBuilder::createOrReuseLocalScope(LocalScope* Scope) { in createOrReuseLocalScope()
1302 return new (alloc.Allocate<LocalScope>()) in createOrReuseLocalScope()
1303 LocalScope(BumpVectorContext(alloc), ScopePos); in createOrReuseLocalScope()
1312 LocalScope *Scope = nullptr; in addLocalScopeForStmt()
1332 LocalScope* CFGBuilder::addLocalScopeForDeclStmt(DeclStmt *DS, in addLocalScopeForDeclStmt()
1333 LocalScope* Scope) { in addLocalScopeForDeclStmt()
1346 LocalScope* CFGBuilder::addLocalScopeForVarDecl(VarDecl *VD, in addLocalScopeForVarDecl()
1347 LocalScope* Scope) { in addLocalScopeForVarDecl()
1406 LocalScope::const_iterator scopeBeginPos = ScopePos; in addLocalScopeAndDtors()
1419 LocalScope::const_iterator B, LocalScope::const_iterator E) { in prependAutomaticObjDtorsWithTerminator()
1423 for (LocalScope::const_iterator I = B; I != E; ++I) in prependAutomaticObjDtorsWithTerminator()
1943 LocalScope::const_iterator scopeBeginPos = ScopePos; in VisitCompoundStmt()
2170 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitIfStmt()
2174 LocalScope::const_iterator BeginScopePos = ScopePos; in VisitIfStmt()
2182 LocalScope::const_iterator BeginScopePos = ScopePos; in VisitIfStmt()
2307 addAutomaticObjDtors(ScopePos, LocalScope::const_iterator(), R); in VisitReturnStmt()
2400 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitForStmt()
2407 LocalScope::const_iterator LoopBeginScopePos = ScopePos; in VisitForStmt()
2411 LocalScope::const_iterator ContinueScopePos = ScopePos; in VisitForStmt()
2745 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitWhileStmt()
2749 LocalScope::const_iterator LoopBeginScopePos = ScopePos; in VisitWhileStmt()
3074 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitSwitchStmt()
3078 LocalScope::const_iterator BeginScopePos = ScopePos; in VisitSwitchStmt()
3086 LocalScope::const_iterator SwitchBeginScopePos = ScopePos; in VisitSwitchStmt()
3370 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitCXXCatchStmt()
3375 LocalScope::const_iterator BeginScopePos = ScopePos; in VisitCXXCatchStmt()
3422 SaveAndRestore<LocalScope::const_iterator> save_scope_pos(ScopePos); in VisitCXXForRangeStmt()
3433 LocalScope::const_iterator ContinueScopePos = ScopePos; in VisitCXXForRangeStmt()