diff options
author | Eric Fiselier <eric@efcs.ca> | 2019-04-12 05:18:19 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2019-04-12 05:18:19 +0000 |
commit | aa1cad1591bf4fd55b0d7f28e616329c4943e27d (patch) | |
tree | 6c5a980b1c82d50a329f33dda01a1311f4718cdc /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 2122957809b8568e86af6e46b85072682ec1a74b (diff) | |
download | bcm5719-llvm-aa1cad1591bf4fd55b0d7f28e616329c4943e27d.tar.gz bcm5719-llvm-aa1cad1591bf4fd55b0d7f28e616329c4943e27d.zip |
Cleanup how debug comparators are created in <algorithm>
Instead of having an `#if` block in every algorithm using a debug
comparator, this patch introduces the __comp_ref_type trait that
selects __debug_less in debug mode and _Comp& otherwise.
This patch should have no observable functionality change.
llvm-svn: 358252
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions