diff --git a/src/misc/dbus.h b/src/misc/dbus.h index 90708077b..5282d7198 100644 --- a/src/misc/dbus.h +++ b/src/misc/dbus.h @@ -22,7 +22,6 @@ QDBusArgument &operator<<(QDBusArgument &arg, const std::string &s); */ const QDBusArgument &operator>>(const QDBusArgument &arg, std::string &s); -// *INDENT-OFF* /*! * Operator for streaming enums to QDBusArgument. */ diff --git a/src/misc/dictionary.h b/src/misc/dictionary.h index 3e2f5ce47..f22e6bbb9 100644 --- a/src/misc/dictionary.h +++ b/src/misc/dictionary.h @@ -72,14 +72,12 @@ namespace swift::misc /*! * Associative container with value semantics, chooses a sensible default implementation container type. */ - // *INDENT-OFF* template class Impl = TDefaultAssociativeType> class CDictionary : public mixin::DBusOperators>, public mixin::DataStreamOperators>, public mixin::JsonOperators>, public mixin::String> - // *INDENT-ON* { //! \copydoc swift::misc::CValueObject::compare friend int compare(const CDictionary &a, const CDictionary &b) diff --git a/src/misc/geo/coordinategeodetic.cpp b/src/misc/geo/coordinategeodetic.cpp index 5dbe0c019..1b3597a2a 100644 --- a/src/misc/geo/coordinategeodetic.cpp +++ b/src/misc/geo/coordinategeodetic.cpp @@ -237,7 +237,6 @@ namespace swift::misc::geo int CCoordinateGeodetic::clampVector() { int c = 0; - // *INDENT-OFF* if (m_x < -1.0) { m_x = -1.0; @@ -268,7 +267,6 @@ namespace swift::misc::geo m_z = 1.0; c++; } - // *INDENT-ON* return c; } diff --git a/src/misc/metaclass.h b/src/misc/metaclass.h index 3ea523806..d3c92b403 100644 --- a/src/misc/metaclass.h +++ b/src/misc/metaclass.h @@ -41,7 +41,6 @@ //! \endcond -// *INDENT-OFF* /*! * Macro to define a nested metaclass that describes the attributes of its * enclosing class. Use in the private section of the class. @@ -80,7 +79,6 @@ */ #define SWIFT_METAMEMBER_NAMED(MEMBER, NAME, ...) \ makeMetaMember(&Class::m_##MEMBER, NAME SWIFT_TRAILING_VA_ARGS(__VA_ARGS__)) -// *INDENT-ON* //! std::string qHash inline size_t qHash(const std::string &key, uint seed) { return qHash(QString::fromStdString(key), seed); } diff --git a/src/misc/mixin/mixindbus.h b/src/misc/mixin/mixindbus.h index d656f44b5..4bb345614 100644 --- a/src/misc/mixin/mixindbus.h +++ b/src/misc/mixin/mixindbus.h @@ -174,7 +174,6 @@ namespace swift::misc void DBusByMetaClass::baseUnmarshall(CEmpty *, const QDBusArgument &) {} - // *INDENT-OFF* /*! * When a derived class and a base class both inherit from mixin::DBusByTuple, * the derived class uses this macro to disambiguate the inherited members. @@ -182,7 +181,6 @@ namespace swift::misc #define SWIFT_MISC_DECLARE_USING_MIXIN_DBUS(DERIVED, ...) \ using ::swift::misc::mixin::DBusByMetaClass::marshallToDbus; \ using ::swift::misc::mixin::DBusByMetaClass::unmarshallFromDbus; - // *INDENT-ON* } // namespace mixin } // namespace swift::misc diff --git a/src/misc/mixin/mixinindex.h b/src/misc/mixin/mixinindex.h index 88cd68edf..c8e5b9b1c 100644 --- a/src/misc/mixin/mixinindex.h +++ b/src/misc/mixin/mixinindex.h @@ -147,14 +147,12 @@ namespace swift::misc * When a derived class and a base class both inherit from mixin::Index, * the derived class uses this macro to disambiguate the inherited members. */ - // *INDENT-OFF* #define SWIFT_MISC_DECLARE_USING_MIXIN_INDEX(DERIVED) \ using ::swift::misc::mixin::Index::apply; \ using ::swift::misc::mixin::Index::setPropertyByIndex; \ using ::swift::misc::mixin::Index::propertyByIndex; \ using ::swift::misc::mixin::Index::comparePropertyByIndex; \ using ::swift::misc::mixin::Index::equalsPropertyByIndex; - // *INDENT-ON* template void Index::setPropertyByIndex(CPropertyIndexRef index, const QVariant &variant) diff --git a/src/misc/mixin/mixinmetatype.h b/src/misc/mixin/mixinmetatype.h index 054e5dcd9..413832eea 100644 --- a/src/misc/mixin/mixinmetatype.h +++ b/src/misc/mixin/mixinmetatype.h @@ -103,7 +103,6 @@ namespace swift::misc return false; } - // *INDENT-OFF* /*! * When a derived class and a base class both inherit from mixin::MetaType, * the derived class uses this macro to disambiguate the inherited members. @@ -113,7 +112,6 @@ namespace swift::misc using ::swift::misc::mixin::MetaType::getMetaTypeId; \ using ::swift::misc::mixin::MetaType::getClassName; \ using ::swift::misc::mixin::MetaType::isA; - // *INDENT-ON* } // namespace mixin } // namespace swift::misc diff --git a/src/misc/mixin/mixinstring.h b/src/misc/mixin/mixinstring.h index 98a41864d..98b1ea4cf 100644 --- a/src/misc/mixin/mixinstring.h +++ b/src/misc/mixin/mixinstring.h @@ -100,7 +100,6 @@ namespace swift::misc::mixin return static_cast(this); } - // *INDENT-OFF* /*! * When a derived class and a base class both inherit from mixin::String, * the derived class uses this macro to disambiguate the inherited members. @@ -109,7 +108,6 @@ namespace swift::misc::mixin using ::swift::misc::mixin::String::toQString; \ using ::swift::misc::mixin::String::toStdString; \ using ::swift::misc::mixin::String::stringForStreaming; - // *INDENT-ON* } // namespace swift::misc::mixin #endif // SWIFT_MISC_MIXIN_MIXINSTRING_H diff --git a/src/misc/simulation/interpolation/interpolatorspline.cpp b/src/misc/simulation/interpolation/interpolatorspline.cpp index d32ec2cbf..ba037767c 100644 --- a/src/misc/simulation/interpolation/interpolatorspline.cpp +++ b/src/misc/simulation/interpolation/interpolatorspline.cpp @@ -25,7 +25,6 @@ namespace swift::misc::simulation template std::array solveTridiagonal(std::array, N> &matrix, std::array &d) { - // *INDENT-OFF* const auto a = [&matrix](size_t i) -> double & { return matrix[i][i - 1]; }; // subdiagonal const auto b = [&matrix](size_t i) -> double & { return matrix[i][i]; }; // main diagonal const auto c = [&matrix](size_t i) -> double & { return matrix[i][i + 1]; }; // superdiagonal @@ -47,7 +46,6 @@ namespace swift::misc::simulation d[it] -= c(it) * d[it + 1]; } return d; - // *INDENT-ON* } //! \private Linear equation expressed as tridiagonal matrix. @@ -59,7 +57,6 @@ namespace swift::misc::simulation std::array, N> a { {} }; std::array b { {} }; - // *INDENT-OFF* a[0][0] = 2.0 / (x[1] - x[0]); a[0][1] = 1.0 / (x[1] - x[0]); b[0] = 3.0 * (y[1] - y[0]) / ((x[1] - x[0]) * (x[1] - x[0])); @@ -76,7 +73,6 @@ namespace swift::misc::simulation b[i] = 3.0 * (y[i] - y[i - 1]) / ((x[i] - x[i - 1]) * (x[i] - x[i - 1])) + 3.0 * (y[i + 1] - y[i]) / ((x[i + 1] - x[i]) * (x[i + 1] - x[i])); } - // *INDENT-ON* solveTridiagonal(a, b); return b; diff --git a/src/xswiftbus/traffic.cpp b/src/xswiftbus/traffic.cpp index 799aae4d4..f56ac0374 100644 --- a/src/xswiftbus/traffic.cpp +++ b/src/xswiftbus/traffic.cpp @@ -58,7 +58,6 @@ namespace XSwiftBus CTraffic *CTraffic::s_instance = nullptr; - // *INDENT-OFF* CTraffic::CTraffic(CSettingsProvider *settingsProvider) : CDBusObject(settingsProvider), m_followPlaneViewNextCommand("org/swift-project/xswiftbus/follow_next_plane", @@ -75,7 +74,6 @@ namespace XSwiftBus // init labels this->setDrawingLabels(this->getSettings().isDrawingLabels()); } - // *INDENT-ON* CTraffic::~CTraffic() { diff --git a/src/xswiftbus/utils.h b/src/xswiftbus/utils.h index 75d604d5c..3193e842a 100644 --- a/src/xswiftbus/utils.h +++ b/src/xswiftbus/utils.h @@ -43,14 +43,12 @@ namespace XSwiftBus //! @{ //! Logger convenience macros -// *INDENT-OFF* #define DEBUG_LOG(msg) (XSwiftBus::Logger::print(__FILE__, __LINE__, XSwiftBus::Logger::DebugMsg, (msg))) #define DEBUG_LOG_C(msg, doLog) \ ((doLog) ? XSwiftBus::Logger::print(__FILE__, __LINE__, XSwiftBus::Logger::DebugMsg, (msg)) : static_cast(0)) #define INFO_LOG(msg) (XSwiftBus::Logger::print(__FILE__, __LINE__, XSwiftBus::Logger::InfoMsg, (msg))) #define WARNING_LOG(msg) (XSwiftBus::Logger::print(__FILE__, __LINE__, XSwiftBus::Logger::WarningMsg, (msg))) #define ERROR_LOG(msg) (XSwiftBus::Logger::print(__FILE__, __LINE__, XSwiftBus::Logger::ErrorMsg, (msg))) -// *INDENT-ON* //! @} #endif // SWIFT_SIM_XSWIFTBUS_UTILS_H