Ignore header failures on registries
The generated registries have an imperfect handling of #include
dependencies. Update the script to ignore the misc-include-cleaner
recommendations for now. Future fixes could be done to make these
generated headers actually correctly include their dependencies, but
that is non trivial to do, and the build is broken.
Change-Id: I32c70e9f865ca7ef693c736a45b3ea59513a751d
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/scripts/parse_registries.py b/scripts/parse_registries.py
index 0e566aa..9080a3e 100755
--- a/scripts/parse_registries.py
+++ b/scripts/parse_registries.py
@@ -416,16 +416,18 @@
out.write(WARNING)
out.write(
"""
-
+// These generated headers are a superset of what is needed.
+// clang sees them as an error, so ignore
+// NOLINTBEGIN(misc-include-cleaner)
#include "http_response.hpp"
#include <boost/url/url_view_base.hpp>
#include <nlohmann/json.hpp>
+#include <cstdint>
#include <source_location>
#include <string_view>
-
-// IWYU pragma: no_forward_declare crow::Response
+// NOLINTEND(misc-include-cleaner)
namespace redfish
{