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-digital/lib/qa_header_buffer.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gr-digital/lib/qa_header_buffer.cc')

diff --git a/gr-digital/lib/qa_header_buffer.cc b/gr-digital/lib/qa_header_buffer.cc
index 3fa22e5883..d17799a472 100644
--- a/gr-digital/lib/qa_header_buffer.cc
+++ b/gr-digital/lib/qa_header_buffer.cc
@@ -14,9 +14,9 @@
 
 #include <gnuradio/attributes.h>
 #include <gnuradio/digital/header_buffer.h>
-#include <stdio.h>
 #include <volk/volk_alloc.hh>
 #include <boost/test/unit_test.hpp>
+#include <cstdio>
 
 BOOST_AUTO_TEST_CASE(test_add8)
 {
-- 
cgit v1.2.3