Home
last modified time | relevance | path

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

/external/clang/lib/Index/
DIndexBody.cpp22 SmallVector<Stmt*, 16> StmtStack; member in __anon2124f1a90111::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/llvm-project/clang/lib/Index/
DIndexBody.cpp22 SmallVector<Stmt*, 16> StmtStack; member in __anonf10b2db70111::BodyIndexer
27 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()
/external/llvm-project/clang/lib/Sema/
DSemaAvailability.cpp657 SmallVector<const Stmt *, 16> StmtStack; member in __anon7eb6e1c00411::DiagnoseUnguardedAvailability
679 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()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.h61 StmtAncestorASTVisitor() { StmtStack.push_back(nullptr); } in StmtAncestorASTVisitor()
82 llvm::SmallVector<const clang::Stmt *, 16> StmtStack; variable
DLoopConvertUtils.cpp40 StmtAncestors.insert(std::make_pair(Statement, StmtStack.back())); in TraverseStmt()
41 StmtStack.push_back(Statement); in TraverseStmt()
43 StmtStack.pop_back(); in TraverseStmt()
/external/llvm-project/clang/include/clang/Serialization/
DASTReader.h1162 SmallVector<Stmt *, 16> StmtStack; variable
2194 assert(!StmtStack.empty() && "Read too many sub-statements!"); in ReadSubStmt()
2195 return StmtStack.pop_back_val(); in ReadSubStmt()
/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/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp2619 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()
/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()