From bc39ecc0385dd7e0cb9e1df84628e4c6dde34ab5 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 27 Aug 2024 11:14:38 +0200 Subject: Reformat code to comply with clang-format 18 ... while keeping our .clang-format file. --- src/buildtool/execution_engine/traverser/traverser.hpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src/buildtool/execution_engine/traverser/traverser.hpp') diff --git a/src/buildtool/execution_engine/traverser/traverser.hpp b/src/buildtool/execution_engine/traverser/traverser.hpp index e99c2565..8cfb991f 100644 --- a/src/buildtool/execution_engine/traverser/traverser.hpp +++ b/src/buildtool/execution_engine/traverser/traverser.hpp @@ -31,10 +31,8 @@ template concept Runnable = requires(T const r, DependencyGraph::ActionNode const* action, DependencyGraph::ArtifactNode const* artifact) { - { r.Process(action) } - ->same_as; - { r.Process(artifact) } - ->same_as; + { r.Process(action) } -> same_as; + { r.Process(artifact) } -> same_as; }; /// \brief Class to traverse the dependency graph executing necessary actions @@ -67,9 +65,8 @@ class Traverser { // Traverse starting by the artifacts with the given identifiers, avoiding // executing actions that are not strictly needed to build the given // artifacts - [[nodiscard]] auto Traverse( - std::unordered_set const& target_ids) noexcept - -> bool; + [[nodiscard]] auto Traverse(std::unordered_set const& + target_ids) noexcept -> bool; private: Executor const& runner_{}; -- cgit v1.2.3