summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-03-20 23:38:04 +0300
committerEd Tanous <ed@tanous.net>2024-03-28 06:35:52 +0300
commitf0b59af46a6aa84890d2181b08d4e1af5ce5002f (patch)
tree446e1ed998ede11cbad0faa93a65c727eb6bb3df /.clang-tidy
parent5a8b641229ad1b1c14ae10b7772e5361503675c7 (diff)
downloadbmcweb-f0b59af46a6aa84890d2181b08d4e1af5ce5002f.tar.xz
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>
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 915e3b0250..442c545c8f 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -355,3 +355,4 @@ CheckOptions:
- { key: readability-identifier-naming.FunctionIgnoredRegexp, value: (BMCWEB_LOG_DEBUG|BMCWEB_LOG_INFO|BMCWEB_LOG_WARNING|BMCWEB_LOG_ERROR|BMCWEB_LOG_CRITICAL) }
- { key: cppcoreguidelines-macro-usage.AllowedRegexp, value: DEBUG*|NLOHMANN_JSON_SERIALIZE_ENUM }
- { key: performance-unnecessary-value-param.AllowedTypes, value: ((segments_view)|(url_view)) }
+ - { key: misc-include-cleaner.IgnoreHeaders, value: ((nlohmann/json_fwd.hpp)|(boost/.*/src.hpp)|(boost/.*/detail/.*)|(nlohmann/detail/.*)|(stdio.h)|(ranges)|(bits/chrono.h)|(boost/system/error_code.hpp)) }