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/vmcircbuf_mmap_shm_open.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc') diff --git a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc index becbe4b27b..f362aea613 100644 --- a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc +++ b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc @@ -13,9 +13,9 @@ #endif #include "vmcircbuf_mmap_shm_open.h" -#include <assert.h> #include <fcntl.h> #include <unistd.h> +#include <cassert> #include <stdexcept> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> @@ -25,9 +25,9 @@ #endif #include "pagesize.h" #include <gnuradio/sys_paths.h> -#include <errno.h> -#include <stdio.h> #include <boost/format.hpp> +#include <cerrno> +#include <cstdio> namespace gr { -- cgit v1.2.3