Home
last modified time | relevance | path

Searched refs:StmtStack (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Index/
DIndexBody.cpp22 SmallVector<Stmt*, 16> StmtStack; member in __anon9451a0e80111::BodyIndexer
33 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()
/external/clang/include/clang/Serialization/
DASTReader.h1018 SmallVector<Stmt *, 16> StmtStack; variable
2058 assert(!StmtStack.empty() && "Read too many sub-statements!"); in ReadSubStmt()
2059 return StmtStack.pop_back_val(); in ReadSubStmt()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp2811 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()