Searched refs:StmtStack (Results 1 – 9 of 9) sorted by relevance
22 SmallVector<Stmt*, 16> StmtStack; member in __anon2124f1a90111::BodyIndexer33 StmtStack.push_back(S); in dataTraverseStmtPre()38 assert(StmtStack.back() == S); in dataTraverseStmtPost()39 StmtStack.pop_back(); in dataTraverseStmtPost()56 assert(!StmtStack.empty() && E == StmtStack.back()); in getRolesForRef()57 if (StmtStack.size() == 1) in getRolesForRef()59 auto It = StmtStack.end()-2; in getRolesForRef()65 if (It == StmtStack.begin()) in getRolesForRef()
22 SmallVector<Stmt*, 16> StmtStack; member in __anonf10b2db70111::BodyIndexer27 return StmtStack.size() < 2 ? nullptr : StmtStack.end()[-2]; in getParentStmt()37 StmtStack.push_back(S); in dataTraverseStmtPre()42 assert(StmtStack.back() == S); in dataTraverseStmtPost()43 StmtStack.pop_back(); in dataTraverseStmtPost()60 assert(!StmtStack.empty() && E == StmtStack.back()); in getRolesForRef()61 if (StmtStack.size() == 1) in getRolesForRef()63 auto It = StmtStack.end()-2; in getRolesForRef()69 if (It == StmtStack.begin()) in getRolesForRef()
657 SmallVector<const Stmt *, 16> StmtStack; member in __anon7eb6e1c00411::DiagnoseUnguardedAvailability679 StmtStack.push_back(S); in TraverseStmt()681 StmtStack.pop_back(); in TraverseStmt()791 if (StmtStack.empty()) in DiagnoseDeclAvailability()793 const Stmt *StmtOfUse = StmtStack.back(); in DiagnoseDeclAvailability()795 for (const Stmt *S : llvm::reverse(StmtStack)) { in DiagnoseDeclAvailability()811 if (StmtUSEFinder::isContained(StmtStack.back(), D)) { in DiagnoseDeclAvailability()
61 StmtAncestorASTVisitor() { StmtStack.push_back(nullptr); } in StmtAncestorASTVisitor()82 llvm::SmallVector<const clang::Stmt *, 16> StmtStack; variable
40 StmtAncestors.insert(std::make_pair(Statement, StmtStack.back())); in TraverseStmt()41 StmtStack.push_back(Statement); in TraverseStmt()43 StmtStack.pop_back(); in TraverseStmt()
1162 SmallVector<Stmt *, 16> StmtStack; variable2194 assert(!StmtStack.empty() && "Read too many sub-statements!"); in ReadSubStmt()2195 return StmtStack.pop_back_val(); in ReadSubStmt()
1018 SmallVector<Stmt *, 16> StmtStack; variable2058 assert(!StmtStack.empty() && "Read too many sub-statements!"); in ReadSubStmt()2059 return StmtStack.pop_back_val(); in ReadSubStmt()
2619 unsigned PrevNumStmts = StmtStack.size(); in ReadStmtFromStream()3809 StmtStack.push_back(S); in ReadStmtFromStream()3812 assert(StmtStack.size() > PrevNumStmts && "Read too many sub-stmts!"); in ReadStmtFromStream()3813 assert(StmtStack.size() == PrevNumStmts + 1 && "Extra expressions on stack!"); in ReadStmtFromStream()3814 return StmtStack.pop_back_val(); in ReadStmtFromStream()
2811 unsigned PrevNumStmts = StmtStack.size(); in ReadStmtFromStream()3716 StmtStack.push_back(S); in ReadStmtFromStream()3719 assert(StmtStack.size() > PrevNumStmts && "Read too many sub-stmts!"); in ReadStmtFromStream()3720 assert(StmtStack.size() == PrevNumStmts + 1 && "Extra expressions on stack!"); in ReadStmtFromStream()3721 return StmtStack.pop_back_val(); in ReadStmtFromStream()