[Development] Qt API review with clazy
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:
Milian Wolff | milian.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
KDAB - The Qt Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5903 bytes
Desc: not available
More information about the Development