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> --- gr-blocks/lib/stream_to_streams_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-blocks/lib/stream_to_streams_impl.cc') diff --git a/gr-blocks/lib/stream_to_streams_impl.cc b/gr-blocks/lib/stream_to_streams_impl.cc index ad63547458..7eb9af7a1d 100644 --- a/gr-blocks/lib/stream_to_streams_impl.cc +++ b/gr-blocks/lib/stream_to_streams_impl.cc @@ -14,7 +14,7 @@ #include "stream_to_streams_impl.h" #include <gnuradio/io_signature.h> -#include <string.h> +#include <cstring> namespace gr { namespace blocks { -- cgit v1.2.3