<table><tr><td style="">aaronpuchert created this revision.<br />aaronpuchert added reviewers: KDevelop, mwolff, brauch.<br />Herald added a project: KDevelop.<br />aaronpuchert requested review of this revision.
</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/D18551">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Instead of creating preambles for all files in a project, we only create<br />
them when a translation unit is parsed for a second time, usually<br />
because it's edited. The serialization of the preamble takes time, and<br />
probably doesn't make sense when we throwing it away soon after without<br />
using it again.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>The initial parsing of a project doesn't create any preamble files<br />
anymore, but they appear when files are edited.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>BRANCH</strong><div><div>build-preamble-on-reparse</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18551">https://phabricator.kde.org/D18551</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/clang/duchain/parsesession.cpp</div></div></div><br /><div><strong>To: </strong>aaronpuchert, KDevelop, mwolff, brauch<br /><strong>Cc: </strong>kdevelop-devel, glebaccon, hase, antismap, iodelay, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>