<table><tr><td style="">brauch created this revision.<br />brauch added reviewers: KDevelop, kfunk, mwolff.<br />Restricted Application added a subscriber: kdevelop-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8857" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>See <a href="https://bugs.llvm.org/show_bug.cgi?id=35333" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.llvm.org/show_bug.cgi?id=35333</a> for details and <br />
explanation.</p>

<p>We need to do two things to work around this bug: disable -Wdocumentation,<br />
and only use the plain text from the comments instead of the parsed<br />
version.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>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.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8857" rel="noreferrer">https://phabricator.kde.org/D8857</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/clang/duchain/builder.cpp<br />
plugins/clang/duchain/parsesession.cpp</div></div></div><br /><div><strong>To: </strong>brauch, KDevelop, kfunk, mwolff<br /><strong>Cc: </strong>kdevelop-devel<br /></div>