D18551: clang: Create preamble only on second parse
Aaron Puchert <noreply-Buy57tU0AsCGxO/ty/[email protected]>
| Newsgroups | gmane.comp.kde.devel.kdevelop |
|---|---|
| Message-ID | <[email protected]> |
aaronpuchert added a comment. Hmm, now I'm thinking: If we parse first without creating a preamble, we still have the Clang AST. Couldn't we create the preamble from the AST without reparsing and use that for subsequent parsing? I'll need to have a look at the API and implementation, maybe I'm missing something. REPOSITORY R32 KDevelop REVISION DETAIL https://phabricator.kde.org/D18551 To: aaronpuchert, #kdevelop, mwolff, brauch, rjvbb Cc: rjvbb, kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd