summaryrefslogtreecommitdiff
path: root/src/buildtool/common/repository_config.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-10-04 14:42:28 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-07 15:20:41 +0200
commit0fc0d9118b5e525fa582de0286c8e83bb0da4e16 (patch)
tree23acbc464d5f15ef16432fc9277de3a4a8abcb9d /src/buildtool/common/repository_config.cpp
parente5a6474d0b2a41586b1c7ead20f2098c8dc977e2 (diff)
downloadjustbuild-0fc0d9118b5e525fa582de0286c8e83bb0da4e16.tar.gz
Disable misc-no-recursion check
...since we use recursion for trees a lot, but skip this check manually.
Diffstat (limited to 'src/buildtool/common/repository_config.cpp')
-rw-r--r--src/buildtool/common/repository_config.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buildtool/common/repository_config.cpp b/src/buildtool/common/repository_config.cpp
index 804bec2e..78f7b8a4 100644
--- a/src/buildtool/common/repository_config.cpp
+++ b/src/buildtool/common/repository_config.cpp
@@ -111,7 +111,6 @@ auto RepositoryConfig::BuildGraphForRepository(std::string const& repo,
// unique id if it and all its dependencies are content-fixed or return
// std::nullopt otherwise. Recursion immediately aborts on traversing the first
// non-content-fixed repository.
-// NOLINTNEXTLINE(misc-no-recursion)
auto RepositoryConfig::AddToGraphAndGetId(
gsl::not_null<nlohmann::json*> const& graph,
gsl::not_null<int*> const& id_counter,