chore: Add IWYU pragma for boost::optional to fix clang-tidy (#7088)

This commit is contained in:
Ayaz Salikhov
2026-05-07 00:31:10 +01:00
committed by GitHub
parent 13b72a4120
commit 8e2aa33f64
9 changed files with 9 additions and 9 deletions

View File

@@ -29,7 +29,7 @@ jobs:
if: ${{ inputs.check_only_changed }}
permissions:
contents: read
uses: XRPLF/actions/.github/workflows/determine-tidy-files.yml@12f5dbc98a2260259a66970e57fa4d26fb7f285c
uses: XRPLF/actions/.github/workflows/determine-tidy-files.yml@224f3c48d3014d082a1129237b8291ff0b0a331f
run-clang-tidy:
name: Run clang tidy

View File

@@ -5,7 +5,7 @@
#include <xrpl/protocol/Protocol.h>
#include <xrpl/rdb/SociDB.h>
#include <boost/optional/optional.hpp>
#include <boost/optional/optional.hpp> // IWYU pragma: keep
#include <soci/into.h>
#include <soci/session.h>

View File

@@ -17,7 +17,7 @@
#include <xrpl/server/Manifest.h>
#include <boost/format/free_funcs.hpp>
#include <boost/optional/optional.hpp>
#include <boost/optional/optional.hpp> // IWYU pragma: keep
#include <soci/blob.h>
#include <soci/into.h>

View File

@@ -8,7 +8,7 @@
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/optional/optional.hpp>
#include <boost/optional/optional.hpp> // IWYU pragma: keep
#include <soci/into.h>
#include <soci/session.h>

View File

@@ -19,7 +19,7 @@
#include <boost/asio/strand.hpp>
#include <boost/asio/streambuf.hpp>
#include <boost/asio/write.hpp>
#include <boost/optional/optional.hpp>
#include <boost/optional/optional.hpp> // IWYU pragma: keep
#include <boost/system/detail/error_code.hpp>
#include <cassert>

View File

@@ -24,7 +24,7 @@
#include <xrpl/server/Wallet.h>
#include <boost/algorithm/string/join.hpp>
#include <boost/optional/optional.hpp>
#include <boost/optional/optional.hpp> // IWYU pragma: keep
#include <boost/range/adaptor/transformed.hpp>
#include <boost/regex/v5/regbase.hpp>
#include <boost/regex/v5/regex.hpp>

View File

@@ -20,7 +20,7 @@
#include <xrpl/protocol/jss.h>
#include <xrpl/rdb/RelationalDatabase.h>
#include <boost/optional/optional.hpp>
#include <boost/optional/optional.hpp> // IWYU pragma: keep
#include <cstdint>
#include <exception>

View File

@@ -39,7 +39,7 @@
#include <boost/filesystem/operations.hpp>
#include <boost/format/free_funcs.hpp>
#include <boost/optional/optional.hpp>
#include <boost/optional/optional.hpp> // IWYU pragma: keep
#include <boost/system/detail/error_code.hpp>
#include <soci/blob.h>

View File

@@ -9,7 +9,7 @@
#include <xrpl/beast/utility/Journal.h>
#include <xrpl/rdb/SociDB.h>
#include <boost/optional/optional.hpp>
#include <boost/optional/optional.hpp> // IWYU pragma: keep
#include <soci/into.h>
#include <soci/session.h>