Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
165 for (auto *N = New; N != nullptr; N = N->NextSibling) { in replaceChildRangeLowLevel()
[all …]
H A DMutations.cpp35 assert(New->NextSibling == nullptr); in addAfter()
54 assert(New->NextSibling == nullptr); in replace()
/llvm-project-15.0.7/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