Home
last modified time | relevance | path

Searched refs:NodeOrVector (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/AST/
DParentMapContext.cpp249 auto &NodeOrVector = (*Parents)[MapNode]; in addParent() local
250 if (NodeOrVector.isNull()) { in addParent()
252 NodeOrVector = D; in addParent()
254 NodeOrVector = S; in addParent()
256 NodeOrVector = new DynTypedNode(ParentStack.back()); in addParent()
258 if (!NodeOrVector.template is<ParentVector *>()) { in addParent()
260 1, getSingleDynTypedNodeFromParentMap(NodeOrVector)); in addParent()
261 delete NodeOrVector.template dyn_cast<DynTypedNode *>(); in addParent()
262 NodeOrVector = Vector; in addParent()
265 auto *Vector = NodeOrVector.template get<ParentVector *>(); in addParent()
/external/clang/lib/AST/
DASTContext.cpp8967 auto &NodeOrVector = (*Parents)[MapNode]; in TraverseNode() local
8968 if (NodeOrVector.isNull()) { in TraverseNode()
8970 NodeOrVector = D; in TraverseNode()
8972 NodeOrVector = S; in TraverseNode()
8974 NodeOrVector = in TraverseNode()
8977 if (!NodeOrVector.template is<ASTContext::ParentVector *>()) { in TraverseNode()
8979 1, getSingleDynTypedNodeFromParentMap(NodeOrVector)); in TraverseNode()
8981 NodeOrVector in TraverseNode()
8984 NodeOrVector = Vector; in TraverseNode()
8988 NodeOrVector.template get<ASTContext::ParentVector *>(); in TraverseNode()