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
- rL LLVM
Event Timeline
Comment Actions
Thanks again!
llvm/tools/llvm-nm/llvm-nm.cpp | ||
---|---|---|
717 ↗ | (On Diff #215460) | 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 :)