mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-05-07 17:19:37 -05:00
added IWYU pragmas
This commit is contained in:
@@ -10,7 +10,7 @@ TINY_SYSTEM_HEADER
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
#include "orm/config.hpp"
|
||||
#include "orm/config.hpp" // IWYU pragma: keep
|
||||
|
||||
#include "orm/macros/export.hpp"
|
||||
#include "orm/types/log.hpp"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "orm/macros/systemheader.hpp"
|
||||
TINY_SYSTEM_HEADER
|
||||
|
||||
#include "orm/config.hpp"
|
||||
#include "orm/config.hpp" // IWYU pragma: keep
|
||||
|
||||
#ifdef TINYORM_EXTERN_CONSTANTS
|
||||
# include "orm/constants_extern.hpp" // IWYU pragma: export
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "orm/macros/systemheader.hpp"
|
||||
TINY_SYSTEM_HEADER
|
||||
|
||||
#include "orm/config.hpp"
|
||||
#include "orm/config.hpp" // IWYU pragma: keep
|
||||
|
||||
#include "orm/macros/commonnamespace.hpp"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "orm/macros/systemheader.hpp"
|
||||
TINY_SYSTEM_HEADER
|
||||
|
||||
#include "orm/config.hpp"
|
||||
#include "orm/config.hpp" // IWYU pragma: keep
|
||||
|
||||
#ifdef TINYORM_EXTERN_CONSTANTS
|
||||
# include "orm/schema/schemaconstants_extern.hpp" // IWYU pragma: export
|
||||
|
||||
@@ -8,7 +8,7 @@ TINY_SYSTEM_HEADER
|
||||
#include "orm/exceptions/multiplerecordsfounderror.hpp"
|
||||
#include "orm/exceptions/recordsnotfounderror.hpp"
|
||||
#include "orm/ormtypes.hpp"
|
||||
#include "orm/tiny/tinyconcepts.hpp"
|
||||
#include "orm/tiny/tinyconcepts.hpp" // IWYU pragma: keep
|
||||
#include "orm/utils/query.hpp"
|
||||
#include "orm/utils/type.hpp"
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ TINY_SYSTEM_HEADER
|
||||
#include <QVariant>
|
||||
#include <QtSql/QSqlQuery>
|
||||
|
||||
#include "orm/tiny/tinyconcepts.hpp"
|
||||
#include "orm/tiny/tinyconcepts.hpp" // IWYU pragma: keep
|
||||
#include "orm/utils/nullvariant.hpp"
|
||||
|
||||
TINYORM_BEGIN_COMMON_NAMESPACE
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "orm/macros/systemheader.hpp"
|
||||
TINY_SYSTEM_HEADER
|
||||
|
||||
#include "orm/config.hpp"
|
||||
#include "orm/config.hpp" // IWYU pragma: keep
|
||||
|
||||
#ifdef TINYORM_DEBUG
|
||||
# include <QDebug>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "orm/macros/systemheader.hpp"
|
||||
TINY_SYSTEM_HEADER
|
||||
|
||||
#include "orm/config.hpp"
|
||||
#include "orm/config.hpp" // IWYU pragma: keep
|
||||
|
||||
#ifdef TINY_NO_INCOMPLETE_UNORDERED_MAP
|
||||
# include <map>
|
||||
|
||||
@@ -8,7 +8,7 @@ TINY_SYSTEM_HEADER
|
||||
#include <QDateTime>
|
||||
|
||||
#include "orm/tiny/macros/crtpmodelwithbase.hpp"
|
||||
#include "orm/tiny/tinyconcepts.hpp"
|
||||
#include "orm/tiny/tinyconcepts.hpp" // IWYU pragma: keep
|
||||
#include "orm/utils/helpers.hpp"
|
||||
|
||||
TINYORM_BEGIN_COMMON_NAMESPACE
|
||||
|
||||
@@ -7,7 +7,7 @@ TINY_SYSTEM_HEADER
|
||||
|
||||
#include <QVariant>
|
||||
|
||||
#include "orm/tiny/tinyconcepts.hpp"
|
||||
#include "orm/tiny/tinyconcepts.hpp" // IWYU pragma: keep
|
||||
|
||||
TINYORM_BEGIN_COMMON_NAMESPACE
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ TINY_SYSTEM_HEADER
|
||||
|
||||
#include "orm/macros/export.hpp"
|
||||
#include "orm/ormtypes.hpp"
|
||||
#include "orm/tiny/tinyconcepts.hpp"
|
||||
#include "orm/tiny/tinyconcepts.hpp" // IWYU pragma: keep
|
||||
|
||||
TINYORM_BEGIN_COMMON_NAMESPACE
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
TINY_SYSTEM_HEADER
|
||||
|
||||
#include "orm/constants.hpp"
|
||||
#include "orm/ormconcepts.hpp"
|
||||
#include "orm/ormconcepts.hpp" // IWYU pragma: keep
|
||||
|
||||
TINYORM_BEGIN_COMMON_NAMESPACE
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ TINY_SYSTEM_HEADER
|
||||
#include "orm/constants.hpp"
|
||||
#include "orm/macros/commonnamespace.hpp"
|
||||
#include "orm/macros/export.hpp"
|
||||
#include "orm/ormconcepts.hpp"
|
||||
#include "orm/ormconcepts.hpp" // IWYU pragma: keep
|
||||
|
||||
TINYORM_BEGIN_COMMON_NAMESPACE
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "orm/libraryinfo.hpp"
|
||||
|
||||
#include "orm/config.hpp"
|
||||
#include "orm/config.hpp" // IWYU pragma: keep
|
||||
|
||||
#include "orm/macros/archdetect.hpp"
|
||||
#include "orm/macros/compilerdetect.hpp"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <QVersionNumber>
|
||||
|
||||
#include "orm/exceptions/invalidargumenterror.hpp"
|
||||
#include "orm/ormconcepts.hpp"
|
||||
#include "orm/ormconcepts.hpp" // IWYU pragma: keep
|
||||
#include "orm/ormtypes.hpp"
|
||||
#include "orm/utils/helpers.hpp"
|
||||
#include "orm/utils/type.hpp"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <QString>
|
||||
|
||||
#include "orm/config.hpp"
|
||||
#include "orm/config.hpp" // IWYU pragma: keep
|
||||
|
||||
#if !defined(__clang__) && \
|
||||
!defined(TINYORM_NO_DEBUG) && defined(_MSC_VER) && !defined(Q_OS_WINRT)
|
||||
|
||||
@@ -9,9 +9,9 @@ TINY_SYSTEM_HEADER
|
||||
|
||||
#include "tom/commands/make/concerns/prepareoptionvalues.hpp"
|
||||
#include "tom/commands/make/makecommand.hpp"
|
||||
#include "tom/commands/make/modelcommandconcepts.hpp"
|
||||
#include "tom/commands/make/modelcommandconcepts.hpp" // IWYU pragma: keep
|
||||
#include "tom/commands/make/support/modelcreator.hpp"
|
||||
#include "tom/tomconstants.hpp"
|
||||
#include "tom/tomconstants.hpp" // IWYU pragma: keep
|
||||
|
||||
TINYORM_BEGIN_COMMON_NAMESPACE
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <orm/utils/container.hpp>
|
||||
#include <orm/utils/string.hpp>
|
||||
|
||||
#include "tom/commands/make/modelcommandconcepts.hpp"
|
||||
#include "tom/commands/make/modelcommandconcepts.hpp" // IWYU pragma: keep
|
||||
#include "tom/commands/make/stubs/modelstubs.hpp"
|
||||
|
||||
TINYORM_BEGIN_COMMON_NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user