diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-09-01 04:29:03 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-09-01 04:29:03 +0000 |
| commit | 520aaa2f7d898f0619f02d2f4652e720df5fdd2c (patch) | |
| tree | f84827e80990d095af4b824fcc6fabd69831549c /libunwind/src | |
| parent | 9211396d825dc90e1f1c5d33941853a037b7f842 (diff) | |
| download | bcm5719-llvm-520aaa2f7d898f0619f02d2f4652e720df5fdd2c.tar.gz bcm5719-llvm-520aaa2f7d898f0619f02d2f4652e720df5fdd2c.zip | |
unwind: cleanup -Wunused-parameter
Cleanup a number of `-Wunused-parameter` warnings. NFC.
llvm-svn: 246528
Diffstat (limited to 'libunwind/src')
| -rw-r--r-- | libunwind/src/Registers.hpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libunwind/src/Registers.hpp b/libunwind/src/Registers.hpp index 38ce066c875..875ea2063c8 100644 --- a/libunwind/src/Registers.hpp +++ b/libunwind/src/Registers.hpp @@ -1797,27 +1797,28 @@ inline void Registers_or1k::setRegister(int regNum, uint32_t value) { _LIBUNWIND_ABORT("unsupported or1k register"); } -inline bool Registers_or1k::validFloatRegister(int regNum) const { +inline bool Registers_or1k::validFloatRegister(int /* regNum */) const { return false; } -inline double Registers_or1k::getFloatRegister(int regNum) const { +inline double Registers_or1k::getFloatRegister(int /* regNum */) const { _LIBUNWIND_ABORT("or1k float support not implemented"); } -inline void Registers_or1k::setFloatRegister(int regNum, double value) { +inline void Registers_or1k::setFloatRegister(int /* regNum */, + double /* value */) { _LIBUNWIND_ABORT("or1k float support not implemented"); } -inline bool Registers_or1k::validVectorRegister(int regNum) const { +inline bool Registers_or1k::validVectorRegister(int /* regNum */) const { return false; } -inline v128 Registers_or1k::getVectorRegister(int regNum) const { +inline v128 Registers_or1k::getVectorRegister(int /* regNum */) const { _LIBUNWIND_ABORT("or1k vector support not implemented"); } -inline void Registers_or1k::setVectorRegister(int regNum, v128 value) { +inline void Registers_or1k::setVectorRegister(int /* regNum */, v128 /* value */) { _LIBUNWIND_ABORT("or1k vector support not implemented"); } |

