Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTree.cpp37 : Parent(nullptr), NextSibling(nullptr), PreviousSibling(nullptr), in Node()
61 assert(Child->NextSibling == nullptr); in appendChildLowLevel()
68 this->LastChild->NextSibling = Child; in appendChildLowLevel()
85 assert(Child->NextSibling == nullptr); in prependChildLowLevel()
91 Child->NextSibling = this->FirstChild; in prependChildLowLevel()
107 for (auto *N = New; N; N = N->NextSibling) { in replaceChildRangeLowLevel()
116 for (auto *It = From; It; It = It->NextSibling) in replaceChildRangeLowLevel()
138 auto *Next = N->NextSibling; in replaceChildRangeLowLevel()
142 N->NextSibling = nullptr; in replaceChildRangeLowLevel()
151 auto *&NewFirst = BeforeBegin ? BeforeBegin->NextSibling : FirstChild; in replaceChildRangeLowLevel()
[all …]
H A DMutations.cpp26 assert(New->NextSibling == nullptr); in addAfter()
45 assert(New->NextSibling == nullptr); in replace()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTree.h93 const Node *getNextSibling() const { return NextSibling; } in getNextSibling()
94 Node *getNextSibling() { return NextSibling; } in getNextSibling()
122 Node *NextSibling; variable