Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSuffixTree.cpp145 SuffixTreeNode *LastChild = nullptr; in setLeafNodes() local
147 LastChild = J->second; in setLeafNodes()
148 ToVisit.push_back(LastChild); in setLeafNodes()
150 ChildrenMap[CurrInternalNode] = {FirstChild, LastChild}; in setLeafNodes()
156 auto [FirstChild, LastChild] = I->second; in setLeafNodes()
163 CurrNode->setLeftLeafIdx(LastChild->getLeftLeafIdx()); in setLeafNodes()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTree.cpp67 if (this->LastChild) { in appendChildLowLevel()
68 Child->PreviousSibling = this->LastChild; in appendChildLowLevel()
69 this->LastChild->NextSibling = Child; in appendChildLowLevel()
73 this->LastChild = Child; in appendChildLowLevel()
95 this->LastChild = Child; in prependChildLowLevel()
135 auto *BeforeBegin = Begin ? Begin->PreviousSibling : LastChild; in replaceChildRangeLowLevel()
153 auto *&NewLast = End ? End->PreviousSibling : LastChild; in replaceChildRangeLowLevel()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTree.h181 Node *getLastChild() { return LastChild; } in getLastChild()
182 const Node *getLastChild() const { return LastChild; } in getLastChild()
247 Node *LastChild = nullptr; variable