[Interest] Klocwork errors in Qt

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Wed Dec 4 07:27:25 CET 2019


Il 04/12/19 02:36, Christian Gagneraud ha scritto:
> BTW, Clazy has a check for that very specific case, which just show
> how dangerous is this QStringBuilder.
> https://github.com/KDE/clazy/blob/master/docs/checks/README-auto-unexpected-qstringbuilder.md

As a professional developer, one should strive for keeping a codebase 
under clazy, clang-tidy, and friends; and always be under -Werror.

There are no excuses for not fixing mistakes that tooling can detect. 
Hence, this problem isn't actually a big deal at all (or: it isn't any 
more, since we have clazy). It falls into the general category of "ways 
C++ lets you shoot in your own foot", which is a much broad discussion.

Kudos to Sérgio,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20191204/5e958379/attachment.bin>


More information about the Interest mailing list