D14645: clang: Fix crash in completion on unexpectedly missing FunctionType
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Mon Aug 6 11:33:01 BST 2018
kossebau created this revision.
kossebau added reviewers: KDevelop, brauch.
Restricted Application added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.
kossebau requested review of this revision.
REVISION SUMMARY
Move the whole code section into a single "if (f)" branch to avoid having to
repeatedly checking for the existance (which was missing for getting the
returnTypeIntegral as seen in the backtrace of a reported crash).
REPOSITORY
R32 KDevelop
BRANCH
dontcrashoncompletion
REVISION DETAIL
https://phabricator.kde.org/D14645
AFFECTED FILES
plugins/clang/codecompletion/context.cpp
To: kossebau, #kdevelop, brauch
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/20180806/3e7d4430/attachment-0001.html>
More information about the KDevelop-devel
mailing list