Denis Rouzaud
e4bb080768
fix banned keyword suggestion
2021-08-24 09:22:50 +10:00
Nyall Dawson
08ca000e71
Use c++17 std::clamp instead of qBound
2021-03-22 05:34:10 +10:00
Nyall Dawson
55a79ac1e7
...and DEFINITELY no 'foreach'!!
2021-03-21 14:14:44 +10:00
Nyall Dawson
25595557c1
Definitely no more Q_FOREACH
2021-03-21 14:14:44 +10:00
Nyall Dawson
b883c14f21
Add @brief, @see to banned keywords list
2020-07-06 10:50:24 +10:00
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