D14996: Fix clazy 'connect-3arg-lambda' warnings
Anton Anikin
noreply at phabricator.kde.org
Wed Aug 22 12:33:41 BST 2018
antonanikin created this revision.
antonanikin added a reviewer: KDevelop.
Herald added a project: KDevelop.
antonanikin requested review of this revision.
REVISION SUMMARY
The recommendation is to use the 4-arg overload, which takes a context object so that the lambda isn't executed when the context object is deleted.
REPOSITORY
R32 KDevelop
BRANCH
5.3
REVISION DETAIL
https://phabricator.kde.org/D14996
AFFECTED FILES
kdevplatform/language/duchain/duchain.cpp
kdevplatform/shell/configdialog.cpp
kdevplatform/shell/projectcontroller.cpp
plugins/classbrowser/classwidget.cpp
plugins/custom-definesandincludes/noprojectincludesanddefines/noprojectincludepathsmanager.cpp
plugins/debuggercommon/midebugsession.cpp
To: antonanikin, #kdevelop
Cc: kdevelop-devel, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180822/eb236868/attachment.html>
More information about the KDevelop-devel
mailing list