diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-12-15 09:30:31 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-12-15 09:30:31 +0000 |
commit | 5c248d89f316fab5569dc79c54b50bd4de7f04a6 (patch) | |
tree | d96f3054502dab2b1f5d91bb463acb6746f99c1c /lldb/packages/Python/lldbsuite/test/python_api/formatters | |
parent | 6045cc89bd81fa8915ad809e982902bcfc741632 (diff) | |
download | bcm5719-llvm-5c248d89f316fab5569dc79c54b50bd4de7f04a6.tar.gz bcm5719-llvm-5c248d89f316fab5569dc79c54b50bd4de7f04a6.zip |
[libclang] Add a flag to create the precompiled preamble on the first parse.
Summary:
The current default is to create the preamble on the first reparse, aka
second parse. This is useful for clients that do not want to block when
opening a file because serializing the preamble takes a bit of time.
However, this makes the reparse much more expensive and that may be on the
critical path as it's the first interaction a user has with the source code.
YouCompleteMe currently optimizes for the first code interaction by parsing
the file twice when loaded. That's just unnecessarily slow and this flag
helps to avoid that.
Reviewers: doug.gregor, klimek
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D15490
llvm-svn: 255635
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/formatters')
0 files changed, 0 insertions, 0 deletions