As in D66306, fix the invocation of std::sort with std::function by not using
std::function, since it's easier to read and is broken in libstdc++ from GCC 5.1
(see https://gcc.gnu.org/PR65942).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 36851 Build 36850: arc lint + arc unit
Event Timeline
Comment Actions
Thanks again!
llvm/tools/llvm-nm/llvm-nm.cpp | ||
---|---|---|
717 | Nit: I find the staggered if on the lhs easier to readh than the nested ternary |
Comment Actions
Sounds like you get to claim this as a fix for https://bugs.llvm.org/show_bug.cgi?id=24115 too :)
Nit: I find the staggered if on the lhs easier to readh than the nested ternary