From e5a6474d0b2a41586b1c7ead20f2098c8dc977e2 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Fri, 27 Sep 2024 16:08:54 +0200 Subject: Enable misc-* checks. --- src/buildtool/main/main.cpp | 2 +- src/buildtool/storage/large_object_cas.hpp | 1 + src/buildtool/storage/local_ac.hpp | 1 + src/buildtool/storage/local_cas.hpp | 1 + src/buildtool/storage/target_cache.hpp | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index 34ee14b1..6a2c8525 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -233,7 +233,7 @@ void SetupFileChunker() { /// \brief Write backend description (which determines the target cache shard) /// to CAS. void StoreTargetCacheShard( - StorageConfig const& storage_config, + StorageConfig const& storage_config, // NOLINT(misc-unused-parameters) Storage const& storage, RemoteExecutionConfig const& remote_exec_config) noexcept { auto backend_description = diff --git a/src/buildtool/storage/large_object_cas.hpp b/src/buildtool/storage/large_object_cas.hpp index d32846ae..086875df 100644 --- a/src/buildtool/storage/large_object_cas.hpp +++ b/src/buildtool/storage/large_object_cas.hpp @@ -198,6 +198,7 @@ class LargeObjectCAS final { std::vector const& parts) const noexcept -> bool; }; +// NOLINTNEXTLINE(misc-header-include-cycle) #include "src/buildtool/storage/large_object_cas.tpp" #endif // INCLUDED_SRC_BUILDTOOL_STORAGE_LARGE_OBJECT_CAS_HPP diff --git a/src/buildtool/storage/local_ac.hpp b/src/buildtool/storage/local_ac.hpp index 2e4f57a8..7edb5bf3 100644 --- a/src/buildtool/storage/local_ac.hpp +++ b/src/buildtool/storage/local_ac.hpp @@ -132,6 +132,7 @@ class LocalAC { }; #ifndef BOOTSTRAP_BUILD_TOOL +// NOLINTNEXTLINE(misc-header-include-cycle) #include "src/buildtool/storage/local_ac.tpp" #endif diff --git a/src/buildtool/storage/local_cas.hpp b/src/buildtool/storage/local_cas.hpp index 8c8d70c2..5f3a9db6 100644 --- a/src/buildtool/storage/local_cas.hpp +++ b/src/buildtool/storage/local_cas.hpp @@ -352,6 +352,7 @@ class LocalCAS { }; #ifndef BOOTSTRAP_BUILD_TOOL +// NOLINTNEXTLINE(misc-header-include-cycle) #include "src/buildtool/storage/local_cas.tpp" #else template diff --git a/src/buildtool/storage/target_cache.hpp b/src/buildtool/storage/target_cache.hpp index 81750bf0..cfd8534e 100644 --- a/src/buildtool/storage/target_cache.hpp +++ b/src/buildtool/storage/target_cache.hpp @@ -159,6 +159,7 @@ using ActiveTargetCache = TargetCache; using ActiveTargetCache = TargetCache; #endif // BOOTSTRAP_BUILD_TOOL +// NOLINTNEXTLINE(misc-header-include-cycle) #include "src/buildtool/storage/target_cache.tpp" namespace std { -- cgit v1.2.3