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/buffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnuradio-runtime/lib/buffer.cc') diff --git a/gnuradio-runtime/lib/buffer.cc b/gnuradio-runtime/lib/buffer.cc index 58b291e649..fc91ec7680 100644 --- a/gnuradio-runtime/lib/buffer.cc +++ b/gnuradio-runtime/lib/buffer.cc @@ -15,8 +15,8 @@ #include <gnuradio/buffer.h> #include <gnuradio/integer_math.h> #include <gnuradio/math.h> -#include <assert.h> #include <algorithm> +#include <cassert> #include <iostream> #include <stdexcept> -- cgit v1.2.3