diff options
-rw-r--r-- | libdbpp/command.h | 3 | ||||
-rw-r--r-- | libdbpp/connection.h | 3 | ||||
-rw-r--r-- | libdbpp/mockDatabase.h | 3 | ||||
-rw-r--r-- | libdbpp/unittests/testUtils.cpp | 1 |
4 files changed, 6 insertions, 4 deletions
diff --git a/libdbpp/command.h b/libdbpp/command.h index 2c3e9ee..eae7775 100644 --- a/libdbpp/command.h +++ b/libdbpp/command.h @@ -7,7 +7,7 @@ #include <boost/lexical_cast.hpp> #include <c++11Helpers.h> #include <cstddef> -#include <factory.h> +#include <factory.h> // IWYU pragma: keep #include <optional> #include <string> #include <string_view> @@ -21,6 +21,7 @@ #pragma GCC diagnostic pop #include <type_traits> #include <visibility.h> +// IWYU pragma: no_include "factory.impl.h" namespace DB { class Blob; diff --git a/libdbpp/connection.h b/libdbpp/connection.h index 495c1c2..f14eec1 100644 --- a/libdbpp/connection.h +++ b/libdbpp/connection.h @@ -7,7 +7,7 @@ #include <cstdint> #include <cstdio> #include <exception.h> -#include <factory.h> +#include <factory.h> // IWYU pragma: keep #include <filesystem> #include <iosfwd> #include <memory> @@ -18,6 +18,7 @@ #include <sys/types.h> #include <typeinfo> #include <visibility.h> +// IWYU pragma: no_include "factory.impl.h" namespace DB { class TablePatch; diff --git a/libdbpp/mockDatabase.h b/libdbpp/mockDatabase.h index 82de5e0..55c175f 100644 --- a/libdbpp/mockDatabase.h +++ b/libdbpp/mockDatabase.h @@ -3,13 +3,14 @@ #include "connection_fwd.h" #include <c++11Helpers.h> -#include <factory.impl.h> +#include <factory.h> // IWYU pragma: keep #include <filesystem> #include <initializer_list> #include <memory> #include <string> #include <vector> #include <visibility.h> +// IWYU pragma: no_include "factory.impl.h" namespace DB { class Connection; diff --git a/libdbpp/unittests/testUtils.cpp b/libdbpp/unittests/testUtils.cpp index e95b572..4b3f651 100644 --- a/libdbpp/unittests/testUtils.cpp +++ b/libdbpp/unittests/testUtils.cpp @@ -18,7 +18,6 @@ #include <filesystem> #include <fstream> // IWYU pragma: keep #include <glibmm/ustring.h> -#include <iterator> #include <memory> #include <modifycommand.h> #include <optional> |