10 Commits

Author SHA1 Message Date
Nyall Dawson
e0fa9eb9cf Add QStringLiteral(), QStringLiteral( "" ) and QLatin1String( "" )
to banned keywords

And replace use with QString()
2018-08-31 12:31:27 +10:00
Nyall Dawson
0d1a9819d4 Add qFloor, qCeil, qSqrt to banned keywords 2018-08-22 06:39:28 +10:00
Even Rouault
b5b720dbea
Add QOverload to test_banned_keywords.sh 2018-06-28 22:29:28 +02:00
Nyall Dawson
6470aacb33 Ban QScopedPointer/QSharedPointer 2018-06-17 15:09:07 +10:00
Nyall Dawson
e1ace09f76 Ban more obselete qt methods 2018-06-17 15:09:07 +10:00
Nyall Dawson
1d111ce741 Ban @ doxygen style annotations 2018-06-17 09:24:37 +10:00
Nyall Dawson
da487e2e34 Ban deprecated qMin/qMax/etc methods 2018-06-17 09:24:37 +10:00
Nyall Dawson
c705670947 Upgrade INT_ methods to numeric_limits 2018-06-17 09:24:37 +10:00
Nyall Dawson
17cd2fd5f3 More DBL_MIN/MAX_EPSILON upgrades 2018-06-17 09:24:37 +10:00
Nyall Dawson
ce6fc8fe96 [ci] Add unit test for banned keywords
Flags use of keywords representing deprecated or other
"to be avoided" methods, e.g. use of DBL_MAX instead of
the type-safe std::numeric_limits<double>::max() method.
2018-06-17 09:24:37 +10:00