AArch64 | |
ppc64le | |
s390x | |
x86-64 |
- Update to 1.5 * New Checks: ifndef-define-typo lowercase-qml-type-name qrequiredresult-candidates * New Fixits: range-loop now supports adding missing refs or const-ref range-loop now supports adding qAsConst() function-args-by-ref now adding missing refs or const-ref (experimental) Introduced CLAZY_FIXIT_SUFFIX env variable * Removed support for the obscure -DCLAZY_BUILD_UTILS_LIB to simplify the CMakeLists.txt * Renamed the clazy plugin from ClangLazy.so to ClazyPlugin.so * fully-qualified-moc-types now warns for slot/invokable return values too. They need to be fully qualified for QML. * Fixed a crash (clang assert) in raw-environment-function - BuildRequire ncurses-devel instead of pkgconfig(ncurses) on Leap 42.3 to fix build
- Update to 1.4 * New Checks: connect-by-name skipped-base-class qstring-varargs fully-qualified-moc-types qt-keywords, with fixit included qhash-with-char-pointer-key wrong-qevent-cast static-pmf raw-environment-function empty-qstringliteral * auto-unexpected-qstringbuilder now also warns for lambdas returning QStringBuilder * performance optimizations * Added -header-filter=<regex> option to clazy-standalone. Only headers matching the regexp will have warnings, besides the .cpp file from the translation unit, which is never filtered out. * Added -ignore-dirs=<regex> option to clazy-standalone, and its CLAZY_IGNORE_DIRS env variable equivalent. * Added CLAZY_HEADER_FILTER env variable which adds above functionality to both clazy and clazy-standalone * unused-non-trivial-variable got unused-non-trivial-variable-no-whitelist option * unused-non-trivial-variable got user-blacklist and user-whitelist support * container-inside-loop is now a manual check instead of level2 * HiddenLevel was renamed to ManualLevel * connect-3arg-lambda now warns when passing a lambda to QTimer::singleShot() or QMenu::addAction() without a context object * old-style-connect warns for QMenu::addAction() and QMessageBox::open() too now
- Small packaging adjustements
- Add Clazy 1.3, a code checker based on the Clang framework.
- Add upstream changes: * 0001-Limit-the-clang-AST-crash-workaround-to-clang-7.0.patch * 0001-Fix-crash-when-Q_PROPERTY-contents-is-empty.patch * 0001-Allow-passing-no-check-in-plugin-arg-clazy-commandli.patch * 0001-Build-fixes-for-LLVM-Clang-15.0.0.patch
- Update to 1.11 * New Checks: - use-arrow-operator-instead-of-data - use-static-qregularexpression - unexpected-flag-enumerator-value - Removed inefficient-qlist check (Fixed in Qt6)
- Update to 1.10 * Requires C++17 * Fixed a -Wclazy-lambda-in-connect false-positive * Fixed crash in copyable-polymorphic when PCH was enabled - Drop 0001-Fix-build-with-Clang-12.patch. Fixed upstream.
- Make sure C++17 support is available for Leap builds.
- Add upstream change: * 0001-Fix-build-with-Clang-12.patch