Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp689 LVSortFunction SortFunction = getSortFunction(); in sort() local
690 if (SortFunction) { in sort()
691 std::function<void(LVScope * Parent, LVSortFunction SortFunction)> Sort = in sort()
692 [&](LVScope *Parent, LVSortFunction SortFunction) { in sort() argument
693 auto Traverse = [&](auto *Set, LVSortFunction SortFunction) { in sort() argument
695 std::stable_sort(Set->begin(), Set->end(), SortFunction); in sort()
697 Traverse(Parent->Types, SortFunction); in sort()
698 Traverse(Parent->Symbols, SortFunction); in sort()
699 Traverse(Parent->Scopes, SortFunction); in sort()
701 Traverse(Parent->Children, SortFunction); in sort()
[all …]