diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-01-08 09:33:36 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-03-04 08:07:26 -0600 |
commit | 107a49c0c236940da7d3bd0f57da4bc1e2a34cb4 (patch) | |
tree | fdeaad56030a02948377c45838dab97beb7a5c84 /host/tests/rfnoc_block_tests/fft_block_test.cpp | |
parent | 7d5e48032baa62cbe7467833b9e057900602f4b9 (diff) | |
download | uhd-107a49c0c236940da7d3bd0f57da4bc1e2a34cb4.tar.gz uhd-107a49c0c236940da7d3bd0f57da4bc1e2a34cb4.tar.bz2 uhd-107a49c0c236940da7d3bd0f57da4bc1e2a34cb4.zip |
host: Update code base using clang-tidy
The checks from the new clang-tidy file are applied to the source tree
using:
$ find . -name "*.cpp" | sort -u | xargs \
--max-procs 8 --max-args 1 clang-tidy --format-style=file \
--fix -p /path/to/compile_commands.json
Diffstat (limited to 'host/tests/rfnoc_block_tests/fft_block_test.cpp')
-rw-r--r-- | host/tests/rfnoc_block_tests/fft_block_test.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/host/tests/rfnoc_block_tests/fft_block_test.cpp b/host/tests/rfnoc_block_tests/fft_block_test.cpp index 0eac8cf43..15e1de8f2 100644 --- a/host/tests/rfnoc_block_tests/fft_block_test.cpp +++ b/host/tests/rfnoc_block_tests/fft_block_test.cpp @@ -25,8 +25,10 @@ noc_block_base::make_args_t::~make_args_t() = default; class fft_mock_reg_iface_t : public mock_reg_iface_t { public: - virtual void _poke_cb( - uint32_t addr, uint32_t /*data*/, uhd::time_spec_t /*time*/, bool /*ack*/) + void _poke_cb(uint32_t addr, + uint32_t /*data*/, + uhd::time_spec_t /*time*/, + bool /*ack*/) override { if (addr == fft_block_control::REG_RESET_ADDR) { fft_was_reset = true; |