D18551: clang: Create preamble only on second parse

René J.V. Bertin noreply at phabricator.kde.org
Sun Feb 3 18:39:01 GMT 2019


rjvbb added a comment.


  No, sorry, I am a bit confused by your notation and the fact you seem to consider only files that are open when you start a session and then probably confused myself a bit more while answering.
  
  So:
  
  - when "¬(1)", the clang flag is set and preambles are created as they are currently, nothing changes.
  - when "(1)", the clang flag is not set, preambles are not created during the initial import except possibly for the files that opened with the session if the parser is triggered twice for those. If it is not, the preamble will be created on first change. For all other files the preamble will be created later, I presume when you open the file (because that always seems to trigger the parser for me).

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D18551

To: aaronpuchert, #kdevelop, mwolff, brauch, rjvbb
Cc: rjvbb, kdevelop-devel, glebaccon, hase, antismap, iodelay, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20190203/63651e74/attachment-0001.html>


More information about the KDevelop-devel mailing list