• Home
  • Raw
  • Download

Lines Matching full:parentscope

45     /// ParentScope - The index in ScopeMap of the parent scope.  This is 0 for
47 unsigned ParentScope; member
60 GotoScope(unsigned parentScope, unsigned InDiag, unsigned OutDiag, in GotoScope()
62 : ParentScope(parentScope), InDiag(InDiag), OutDiag(OutDiag), Loc(L) {} in GotoScope()
74 void BuildScopeInformation(Decl *D, unsigned &ParentScope);
76 unsigned &ParentScope);
117 assert(Scopes[B].ParentScope < B); in GetDeepestCommonScope()
118 B = Scopes[B].ParentScope; in GetDeepestCommonScope()
120 assert(Scopes[A].ParentScope < A); in GetDeepestCommonScope()
121 A = Scopes[A].ParentScope; in GetDeepestCommonScope()
216 void JumpScopeChecker::BuildScopeInformation(Decl *D, unsigned &ParentScope) { in BuildScopeInformation() argument
220 Scopes.push_back(GotoScope(ParentScope, Diags.first, Diags.second, in BuildScopeInformation()
222 ParentScope = Scopes.size()-1; in BuildScopeInformation()
229 BuildScopeInformation(Init, ParentScope); in BuildScopeInformation()
235 unsigned &ParentScope) { in BuildScopeInformation() argument
263 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
265 ParentScope = Scopes.size()-1; in BuildScopeInformation()
279 unsigned &ParentScope = ((isa<Expr>(S) && !isa<StmtExpr>(S)) in BuildScopeInformation() local
284 // If we found a label, remember that it is in ParentScope scope. in BuildScopeInformation()
297 LabelAndGotoScopes[S] = ParentScope; in BuildScopeInformation()
302 LabelAndGotoScopes[S] = ParentScope; in BuildScopeInformation()
310 BuildScopeInformation(Init, ParentScope); in BuildScopeInformation()
314 BuildScopeInformation(Var, ParentScope); in BuildScopeInformation()
322 LabelAndGotoScopes[S] = ParentScope; in BuildScopeInformation()
332 BuildScopeInformation(Var, ParentScope); in BuildScopeInformation()
336 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
343 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
349 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
361 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
373 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
386 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
397 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
404 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
432 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
444 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
455 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
471 BuildScopeInformation(AS->getSynchExpr(), ParentScope); in BuildScopeInformation()
476 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
490 Scopes.push_back(GotoScope(ParentScope, in BuildScopeInformation()
524 Scopes.push_back(GotoScope(ParentScope, 0, in BuildScopeInformation()
536 LabelAndGotoScopes[S] = ParentScope; in BuildScopeInformation()
565 LabelAndGotoScopes[SubStmt] = ParentScope; in BuildScopeInformation()
570 BuildScopeInformation(SubStmt, ParentScope); in BuildScopeInformation()
717 Min = Scopes[Min].ParentScope; in VerifyIndirectJumps()
736 for (unsigned S = I->first; S != Scope; S = Scopes[S].ParentScope) in VerifyIndirectJumps()
749 Scope = Scopes[Scope].ParentScope; in VerifyIndirectJumps()
806 for (unsigned I = JumpScope; I != Common; I = Scopes[I].ParentScope) in DiagnoseIndirectJump()
815 for (unsigned I = TargetScope; I != Common; I = Scopes[I].ParentScope) in DiagnoseIndirectJump()
852 for (unsigned I = FromScope; I > ToScope; I = Scopes[I].ParentScope) { in CheckJump()
869 for (unsigned I = ToScope; I != CommonScope; I = Scopes[I].ParentScope) { in CheckJump()