From d1ba72a0fe5e8deabc6f94cd7bf97a030438c7ee Mon Sep 17 00:00:00 2001 From: Marcus Müller <mmueller@gnuradio.org> Date: Mon, 18 Jan 2021 12:42:33 +0100 Subject: clang-tidy: run full .clang-tidy on C++17 codebase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit run /usr/share/clang/run-clang-tidy.py -checks=file '-header-filter=.*' -fix .. from build directory. Then, clang-format -i $(git diff --name-only origin/master) to clang-format changed files. Then, refresh all header hashes in pybind bindings (*/python/bindings/*.cc) Signed-off-by: Marcus Müller <mmueller@gnuradio.org> --- gnuradio-runtime/lib/message.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnuradio-runtime/lib/message.cc') diff --git a/gnuradio-runtime/lib/message.cc b/gnuradio-runtime/lib/message.cc index ab5130a2d0..3de75b76c4 100644 --- a/gnuradio-runtime/lib/message.cc +++ b/gnuradio-runtime/lib/message.cc @@ -13,8 +13,8 @@ #endif #include <gnuradio/message.h> -#include <assert.h> -#include <string.h> +#include <cassert> +#include <cstring> namespace gr { -- cgit v1.2.3