summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-09-14 18:33:25 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-09-14 18:33:25 +0000
commit591aac7cdfa2f536c3bd7161c2c638fa38b4f913 (patch)
treef37d2ee85e884d46fd100cbd02b2a21826c4f73d /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
parent1f4cdcfec93e3c6fa7d9ccd552c6b48fab6831cc (diff)
downloadbcm5719-llvm-591aac7cdfa2f536c3bd7161c2c638fa38b4f913.tar.gz
bcm5719-llvm-591aac7cdfa2f536c3bd7161c2c638fa38b4f913.zip
Remove usages of deprecated std::unary_function and std::binary_function.
These are removed in C++17. We still have some users of unary_function::argument_type, so just spell that typedef out. No functionality change intended. Note that many of the argument types are actually wrong :) llvm-svn: 313287
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index 83324f869fb..53ef28e473a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@ -1575,7 +1575,7 @@ void ScheduleDAGRRList::ListScheduleBottomUp() {
namespace {
class RegReductionPQBase;
-struct queue_sort : public std::binary_function<SUnit*, SUnit*, bool> {
+struct queue_sort {
bool isReady(SUnit* SU, unsigned CurCycle) const { return true; }
};
OpenPOWER on IntegriCloud