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/redfish-core/src/registries.cpp b/redfish-core/src/registries.cpp
index c727d1c..8c8b36a 100644
--- a/redfish-core/src/registries.cpp
+++ b/redfish-core/src/registries.cpp
@@ -4,8 +4,12 @@
#include "registries/openbmc_message_registry.hpp"
#include "str_utility.hpp"
+#include <algorithm>
+#include <cstring>
#include <ranges>
+#include <span>
#include <string>
+#include <string_view>
#include <vector>
namespace redfish::registries