Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVSort.cpp108 LVSortFunction SortFunction = nullptr; in getSortFunction() local
111 SortFunction = Iter->second; in getSortFunction()
112 return SortFunction; in getSortFunction()
H A DLVScope.cpp676 LVSortFunction SortFunction = getSortFunction(); in sort() local
677 if (SortFunction) { in sort()
678 std::function<void(LVScope * Parent, LVSortFunction SortFunction)> Sort = in sort()
679 [&](LVScope *Parent, LVSortFunction SortFunction) { in sort() argument
680 auto Traverse = [&](auto &Set, LVSortFunction SortFunction) { in sort() argument
682 std::stable_sort(Set->begin(), Set->end(), SortFunction); in sort()
684 Traverse(Parent->Types, SortFunction); in sort()
685 Traverse(Parent->Symbols, SortFunction); in sort()
686 Traverse(Parent->Scopes, SortFunction); in sort()
688 Traverse(Parent->Children, SortFunction); in sort()
[all …]