Add misc-include-cleaner
And fix the includes that are wrong.
Note, there is a very large ignore list included in the .clang-tidy
configcfile. These are things that clang-tidy doesn't yet handle
well, like knowing about a details include.
Change-Id: Ie3744f2c8cba68a8700b406449d6c2018a736952
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/src/json_html_serializer.cpp b/src/json_html_serializer.cpp
index 8322f1d..5473b1d 100644
--- a/src/json_html_serializer.cpp
+++ b/src/json_html_serializer.cpp
@@ -2,11 +2,18 @@
#include "http_response.hpp"
+#include <boost/beast/http/field.hpp>
#include <nlohmann/json.hpp>
-#include <algorithm>
#include <array>
-#include <limits>
+#include <cmath>
+#include <cstddef>
+#include <cstdint>
+#include <cstdio>
+#include <iterator>
+#include <string>
+#include <type_traits>
+#include <utility>
namespace json_html_util
{