[Development] Qt API review with clazy
Milian Wolff
milian.wolff at kdab.com
Mon Sep 12 12:55:49 CEST 2016
On Montag, 12. September 2016 22:04:47 CEST Ch'Gans wrote:
> On 12 September 2016 at 21:13, Mathias Hasselmann
>
> <mathias at taschenorakel.de> wrote:
> > Hello Chris,
>
> [...]
>
> > Besides clazy being blasting fast you are comparing apples with oranges.
> > The issues clazy blames are plain Qt usage bugs. Just the same kind of
> > issues the compiler reports for regular C++ already. Ideally the
> > compilers would checks those issues out of the box already. Obviously
> > they can't because Qt layers stuff on top of C++.
>
> BTW, have you tried to use clazy by adding the flags in QtC C++ clang
> model? (tools->options->C++->code model)
> I have no clue if it is even doable, i'm just asking.
It's possible. We did that in KDevelop. But it depends on a libclang patch
that was not yet accepted upstream:
https://reviews.llvm.org/D15729
Cheers
--
Milian Wolff | milian.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5903 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160912/3acfe687/attachment.bin>
More information about the Development
mailing list