D8857: work around clang bug 35333: don't crash when switching git branches
Sven Brauch
noreply at phabricator.kde.org
Thu Nov 16 22:37:10 UTC 2017
brauch created this revision.
brauch added reviewers: KDevelop, kfunk, mwolff.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
See https://bugs.llvm.org/show_bug.cgi?id=35333 for details and
explanation.
We need to do two things to work around this bug: disable -Wdocumentation,
and only use the plain text from the comments instead of the parsed
version.
TEST PLAN
Open a project in kdev, and while it's parsing run "git checkout A; sleep 1; git checkout B; sleep 1;" in a loop. Without this patch, it will crash after at most 10-15 iterations here.
REPOSITORY
R32 KDevelop
REVISION DETAIL
https://phabricator.kde.org/D8857
AFFECTED FILES
plugins/clang/duchain/builder.cpp
plugins/clang/duchain/parsesession.cpp
To: brauch, #kdevelop, kfunk, mwolff
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20171116/88b15633/attachment.html>
More information about the KDevelop-devel
mailing list