D14235: Fix QStringBuilder taking reference to temporary due to auto
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Thu Jul 19 22:53:16 BST 2018
kossebau created this revision.
kossebau added reviewers: KDevelop, shashwatdixit, mwolff.
Restricted Application added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.
kossebau requested review of this revision.
REVISION SUMMARY
Compiler decides for "auto" type result to use QStringBuilder, though the
expression passed to it includes a temporary QString result from a
QStringList::join() result. Which then is dropped after the assignement, due
to getting out of scope.
REPOSITORY
R32 KDevelop
BRANCH
fixreftotempwithqstringbuilder
REVISION DETAIL
https://phabricator.kde.org/D14235
AFFECTED FILES
plugins/clang/codecompletion/completionhelper.cpp
To: kossebau, #kdevelop, shashwatdixit, mwolff
Cc: kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180719/a00363d4/attachment.html>
More information about the KDevelop-devel
mailing list