diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-11-07 15:51:08 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-11-14 14:23:05 +0100 |
commit | 0d80574a5bd6cfe21827a7e0da2ddc84773363a3 (patch) | |
tree | 348199b3d1f4e71343207e593285a862eee40224 /src/buildtool/build_engine/expression/target_node.hpp | |
parent | 5ffc62e1df6a85cc4e2874e80fe73919ef75b0df (diff) | |
download | justbuild-0d80574a5bd6cfe21827a7e0da2ddc84773363a3.tar.gz |
build_engine: Implement IWYU suggestions
Requires the use of a pragma to avoid wrong removal suggestion for
path_hash.hpp.
Co-authored-by: Maksim Denisov <denisov.maksim@huawei.com>
Diffstat (limited to 'src/buildtool/build_engine/expression/target_node.hpp')
-rw-r--r-- | src/buildtool/build_engine/expression/target_node.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/build_engine/expression/target_node.hpp b/src/buildtool/build_engine/expression/target_node.hpp index 1e7cbd2e..955a6fb7 100644 --- a/src/buildtool/build_engine/expression/target_node.hpp +++ b/src/buildtool/build_engine/expression/target_node.hpp @@ -15,12 +15,12 @@ #ifndef INCLUDED_SRC_BUILDTOOL_BUILDENGINE_EXPRESSION_TARGET_NODE_HPP #define INCLUDED_SRC_BUILDTOOL_BUILDENGINE_EXPRESSION_TARGET_NODE_HPP -#include <type_traits> -#include <utility> // std::move +#include <string> +#include <utility> // IWYU pragma: keep #include <variant> +#include "nlohmann/json.hpp" #include "src/buildtool/build_engine/expression/expression_ptr.hpp" -#include "src/buildtool/build_engine/expression/target_result.hpp" class TargetNode { using Value = ExpressionPtr; // store result type |