From 7a05bb5cfbf3560b828c226f4a3bad8c3826b039 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Wed, 23 Mar 2022 18:47:42 +0100 Subject: Apply changes suggested by clang-tidy 11 --- src/buildtool/execution_api/local/local_storage.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/buildtool/execution_api/local/local_storage.hpp') diff --git a/src/buildtool/execution_api/local/local_storage.hpp b/src/buildtool/execution_api/local/local_storage.hpp index a071a5d5..568d412d 100644 --- a/src/buildtool/execution_api/local/local_storage.hpp +++ b/src/buildtool/execution_api/local/local_storage.hpp @@ -52,6 +52,7 @@ class LocalStorage { } /// \brief Obtain blob path from digest with x-bit. + /// NOLINTNEXTLINE(misc-no-recursion) [[nodiscard]] auto BlobPath(bazel_re::Digest const& digest, bool is_executable) const noexcept -> std::optional { @@ -91,6 +92,7 @@ class LocalStorage { /// \param digest Blob digest. /// \param to_executable Sync direction. /// \returns Path to blob in target CAS. + /// NOLINTNEXTLINE(misc-no-recursion) [[nodiscard]] auto TrySyncBlob(bazel_re::Digest const& digest, bool to_executable) const noexcept -> std::optional { -- cgit v1.2.3