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/lib/usrp/x300/x300_dac_ctrl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'host/lib/usrp/x300/x300_dac_ctrl.cpp') diff --git a/host/lib/usrp/x300/x300_dac_ctrl.cpp b/host/lib/usrp/x300/x300_dac_ctrl.cpp index 3a3dc7389..1254e035e 100644 --- a/host/lib/usrp/x300/x300_dac_ctrl.cpp +++ b/host/lib/usrp/x300/x300_dac_ctrl.cpp @@ -48,7 +48,7 @@ public: reset(); } - ~x300_dac_ctrl_impl(void) + ~x300_dac_ctrl_impl(void) override { UHD_SAFE_CALL( // Power down all DAC subsystems @@ -59,7 +59,7 @@ public: ) } - void reset() + void reset() override { // ADI recommendations: //- soft reset the chip before configuration @@ -75,7 +75,7 @@ public: _sleep_mode(false); } - void sync() + void sync() override { try { // Just return if PLL is locked and backend is synchronized @@ -102,7 +102,7 @@ public: throw uhd::runtime_error(err_str); } - void verify_sync() + void verify_sync() override { _check_pll(); _check_dac_sync(); -- cgit v1.2.3