aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2023-06-06 13:57:45 -0700
committerNikolas Klauser <nikolasklauser@berlin.de>2023-06-06 13:58:52 -0700
commit88632e48069605f5a27740a5df49f0f4e3c285ec (patch)
tree27649acb4c73939364ac5a80cb68be607eb44f54 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent0aa4af711e567c8683cee95ffbb14812df03cecc (diff)
downloadllvm-88632e48069605f5a27740a5df49f0f4e3c285ec.zip
llvm-88632e48069605f5a27740a5df49f0f4e3c285ec.tar.gz
llvm-88632e48069605f5a27740a5df49f0f4e3c285ec.tar.bz2
[libc++] Refactor __less
This simplifies the usage of `__less` by making the class not depend on the types compared, but instead the `operator()`. We can't remove the template completely because we explicitly instantiate `std::__sort` with `__less<T>`. Reviewed By: ldionne, #libc Spies: arichardson, EricWF, libcxx-commits, mgrang Differential Revision: https://reviews.llvm.org/D145285
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions