diff options
| author | Eric Fiselier <eric@efcs.ca> | 2019-03-08 22:58:59 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2019-03-08 22:58:59 +0000 |
| commit | 6e4ec6022f7936b88b42a30f6d64a787609284a9 (patch) | |
| tree | 221964df613526bc5ec78e8f41491daab307488f /llvm/lib/Target | |
| parent | ce3be45cacc168194bb7d5e84de365548e1c49a2 (diff) | |
| download | bcm5719-llvm-6e4ec6022f7936b88b42a30f6d64a787609284a9.tar.gz bcm5719-llvm-6e4ec6022f7936b88b42a30f6d64a787609284a9.zip | |
Fix PR41017 - Build failure with _LIBCPP_DEBUG=0 and non-const-ref
comparator for std::sort()
Our debug comparator assumed that the comparator it wraps would always
accepts the values by const ref. This isn't required by the standard.
This patch makes our __debug_less comparator forward the constness.
llvm-svn: 355752
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions

