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.cpp38 : Parent(nullptr), NextSibling(nullptr), PreviousSibling(nullptr), in Node()
62 assert(Child->NextSibling == nullptr); in appendChildLowLevel()
69 this->LastChild->NextSibling = Child; in appendChildLowLevel()
86 assert(Child->NextSibling == nullptr); in prependChildLowLevel()
92 Child->NextSibling = this->FirstChild; in prependChildLowLevel()
108 for (auto *N = New; N; N = N->NextSibling) { in replaceChildRangeLowLevel()
117 for (auto *It = From; It; It = It->NextSibling) in replaceChildRangeLowLevel()
139 auto *Next = N->NextSibling; in replaceChildRangeLowLevel()
143 N->NextSibling = nullptr; in replaceChildRangeLowLevel()
152 auto *&NewFirst = BeforeBegin ? BeforeBegin->NextSibling : FirstChild; in replaceChildRangeLowLevel()
[all …]
H A DMutations.cpp34 assert(New->NextSibling == nullptr); in addAfter()
53 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