diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-09-14 18:33:25 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-09-14 18:33:25 +0000 |
commit | 591aac7cdfa2f536c3bd7161c2c638fa38b4f913 (patch) | |
tree | f37d2ee85e884d46fd100cbd02b2a21826c4f73d /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | |
parent | 1f4cdcfec93e3c6fa7d9ccd552c6b48fab6831cc (diff) | |
download | bcm5719-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.cpp | 2 |
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; } }; |