From 107a49c0c236940da7d3bd0f57da4bc1e2a34cb4 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 8 Jan 2021 09:33:36 +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 --- host/tests/rfnoc_propprop_test.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'host/tests/rfnoc_propprop_test.cpp') diff --git a/host/tests/rfnoc_propprop_test.cpp b/host/tests/rfnoc_propprop_test.cpp index f07e9848e..d441d180a 100644 --- a/host/tests/rfnoc_propprop_test.cpp +++ b/host/tests/rfnoc_propprop_test.cpp @@ -29,17 +29,17 @@ public: add_property_resolver({&_out}, {&_in}, [this]() { _in = _out / 2; }); } - std::string get_unique_id() const + std::string get_unique_id() const override { return "MOCK_INVALID_NODE1"; } - size_t get_num_input_ports() const + size_t get_num_input_ports() const override { return 1; } - size_t get_num_output_ports() const + size_t get_num_output_ports() const override { return 1; } @@ -88,17 +88,17 @@ public: _in.set(old_val); } - size_t get_num_input_ports() const + size_t get_num_input_ports() const override { return 1; } - size_t get_num_output_ports() const + size_t get_num_output_ports() const override { return 1; } - std::string get_unique_id() const + std::string get_unique_id() const override { return "MOCK_INVALID_NODE2"; } @@ -136,17 +136,17 @@ public: }); } - size_t get_num_input_ports() const + size_t get_num_input_ports() const override { return 1; } - size_t get_num_output_ports() const + size_t get_num_output_ports() const override { return 1; } - std::string get_unique_id() const + std::string get_unique_id() const override { return "MOCK_CIRCULAR_PROPS"; } -- cgit v1.2.3