clazy v1.2 released

Sérgio Martins smartins at kde.org
Thu Aug 31 21:23:08 UTC 2017


Hi all,

(belated announcement, previously sent to kde-announce at . Now hopefully
the right list ;-))

clazy 1.2 has been released, these are the changes:

  - Pre-built Windows binaries:
http://download.kde.org/stable/clazy/1.2/clazy_v1.2-msvc2015.zip.mirrorlist
  - clazy-standalone executable. Allows to run clazy against a JSON
compilation database instead of as a plugin. clang-tidy doesn't
support loading external modules
(https://bugs.llvm.org/show_bug.cgi?id=32739) so this is a good
workaround.
  - qt-compat mode. Allows to disable Qt5 specific checks by passing
-Xclang -plugin-arg-clang-lazy -Xclang qt4-compat

  - New checks:
    install-event-filter
    qcolor-from-literal
    strict-iterators
    connect-not-normalized

  - returning-data-from-temporary now checks for temporary QByteArrays
casting to char* when returned
  - returning-data-from-temporary now checks for assignment too, not
only return statements
  - unused-non-trivial-variable now warns for unused QList, QVector
and many more types
  - ASTMatchers based checks are now supported
  - clang 3.7 was dropped due to ASTMatchers source incompatibilities.
    Use clazy v1.1 for clang >= 3.6 support

  - clazylib.so no longer gets built by default, only the plugin
(ClangLazy.so) gets built. Pass -DCLAZY_BUILD_UTILS_LIB=ON to enable
the utils library if you're developing tools using clazy's convenience
functions, which you're probably not.

  - CLAZY_INSTALL_NO_HEADERS option was removed. Either install the
utils library and headers or nothing at all. By default nothing is
installed, except the plugin and man pages.

Source packages:
https://download.kde.org/stable/clazy/1.2/src/clazy-1.2.tar.xz.mirrorlist
https://download.kde.org/stable/clazy/1.2/src/clazy-1.2.tar.xz.sig.mirrorlist

Regards,
Sergio Martins


More information about the Kde-announce-apps mailing list