From 668a04befdc4ec43b2a6e86992c672ef5f8408e0 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 9 Mar 2021 10:38:42 +0100 Subject: 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 Note: This is the same procedure as 107a49c0, but applied to all the new code since then. --- host/lib/rfnoc/null_block_control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/rfnoc') diff --git a/host/lib/rfnoc/null_block_control.cpp b/host/lib/rfnoc/null_block_control.cpp index bb5fe2ea9..b51dbb906 100644 --- a/host/lib/rfnoc/null_block_control.cpp +++ b/host/lib/rfnoc/null_block_control.cpp @@ -109,12 +109,12 @@ public: regs().poke32(REG_SRC_THROTTLE_CYC, cycs); } - uint32_t get_item_width() + uint32_t get_item_width() override { return _item_width; } - uint32_t get_nipc() + uint32_t get_nipc() override { return _nipc; } -- cgit v1.2.3