[PATCH] D102974: [lld-macho][nfc] Remove unnecessary parameterization of section sort
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 24 10:24:22 PDT 2021
alexshap added inline comments.
================
Comment at: lld/MachO/OutputSegment.cpp:65
+template <typename T, typename F>
+static std::function<bool(T, T)> compareByOrder(F ord) {
+ return [=](T a, T b) { return ord(a) < ord(b); };
----------------
```
static auto compareByOrder(...) {
return ...
}
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102974/new/
https://reviews.llvm.org/D102974
More information about the llvm-commits
mailing list