Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-doc/
DRepresentation.cpp49 int getChildIndexIfExists(std::vector<T> &Children, T &ChildToMerge) { in getChildIndexIfExists() argument
51 if (ChildToMerge.USR == Children[I].USR) in getChildIndexIfExists()
59 for (auto &ChildToMerge : ChildrenToMerge) { in reduceChildren() local
60 int mergeIdx = getChildIndexIfExists(Children, ChildToMerge); in reduceChildren()
62 Children.push_back(std::move(ChildToMerge)); in reduceChildren()
65 Children[mergeIdx].merge(std::move(ChildToMerge)); in reduceChildren()
71 for (auto &ChildToMerge : ChildrenToMerge) { in reduceChildren() local
72 int mergeIdx = getChildIndexIfExists(Children, ChildToMerge); in reduceChildren()
74 Children.push_back(std::move(ChildToMerge)); in reduceChildren()
77 Children[mergeIdx].merge(std::move(ChildToMerge)); in reduceChildren()
[all …]