summaryrefslogtreecommitdiff
path: root/gr-analog
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2021-01-18 12:42:33 +0100
committerMarcus Müller <marcus@hostalia.de>2021-01-19 12:21:46 +0100
commitd1ba72a0fe5e8deabc6f94cd7bf97a030438c7ee (patch)
tree4971b9715934c0fe1f5d23c7de1a925a2b8af7f5 /gr-analog
parent3c5b6181d62110bd78628ad356ac03f69ce0c5b0 (diff)
clang-tidy: run full .clang-tidy on C++17 codebase
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>
Diffstat (limited to 'gr-analog')
-rw-r--r--gr-analog/include/gnuradio/analog/agc2.h2
-rw-r--r--gr-analog/lib/agc3_cc_impl.cc2
-rw-r--r--gr-analog/lib/phase_modulator_fc_impl.cc2
-rw-r--r--gr-analog/lib/pll_refout_cc_impl.cc2
4 files changed, 4 insertions, 4 deletions
diff --git a/gr-analog/include/gnuradio/analog/agc2.h b/gr-analog/include/gnuradio/analog/agc2.h
index af9f64d855..4bd42fe501 100644
--- a/gr-analog/include/gnuradio/analog/agc2.h
+++ b/gr-analog/include/gnuradio/analog/agc2.h
@@ -13,7 +13,7 @@
#include <gnuradio/analog/api.h>
#include <gnuradio/gr_complex.h>
-#include <math.h>
+#include <cmath>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/agc3_cc_impl.cc b/gr-analog/lib/agc3_cc_impl.cc
index 489029b667..d663d6d7d1 100644
--- a/gr-analog/lib/agc3_cc_impl.cc
+++ b/gr-analog/lib/agc3_cc_impl.cc
@@ -12,7 +12,7 @@
#include "config.h"
#endif
-#include <float.h>
+#include <cfloat>
#include <vector>
#include "agc3_cc_impl.h"
diff --git a/gr-analog/lib/phase_modulator_fc_impl.cc b/gr-analog/lib/phase_modulator_fc_impl.cc
index eb67d0a608..5b0cac4f9e 100644
--- a/gr-analog/lib/phase_modulator_fc_impl.cc
+++ b/gr-analog/lib/phase_modulator_fc_impl.cc
@@ -15,7 +15,7 @@
#include "phase_modulator_fc_impl.h"
#include <gnuradio/io_signature.h>
#include <gnuradio/sincos.h>
-#include <math.h>
+#include <cmath>
namespace gr {
namespace analog {
diff --git a/gr-analog/lib/pll_refout_cc_impl.cc b/gr-analog/lib/pll_refout_cc_impl.cc
index 7aa184d978..1cd327f8d5 100644
--- a/gr-analog/lib/pll_refout_cc_impl.cc
+++ b/gr-analog/lib/pll_refout_cc_impl.cc
@@ -15,7 +15,7 @@
#include "pll_refout_cc_impl.h"
#include <gnuradio/io_signature.h>
#include <gnuradio/sincos.h>
-#include <math.h>
+#include <cmath>
namespace gr {
namespace analog {