llvm-project/clang/tools
Benjamin Kramer 5c248d89f3 [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
2015-12-15 09:30:31 +00:00
..
arcmt-test Make the clang module container format selectable from the command line. 2015-07-17 01:19:54 +00:00
c-arcmt-test Tweak libclang's users, c-arcmt-test, c-index-test and libclangTests to satisfy LDFLAGS=-static. 2015-07-12 12:17:55 +00:00
c-index-test [libclang] Add a flag to create the precompiled preamble on the first parse. 2015-12-15 09:30:31 +00:00
clang-check Make the clang module container format selectable from the command line. 2015-07-17 01:19:54 +00:00
clang-format clang-format: Make moving of the Cursor work properly when sorting #includes. 2015-11-23 08:36:35 +00:00
clang-format-vs Update clang-format-vs README 2015-12-08 17:54:27 +00:00
clang-fuzzer [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. (following llvm r249214) 2015-10-02 23:34:37 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool [libclang] Add entry points that take a full command line including argv[0]. 2015-11-18 16:14:27 +00:00
driver No longer creating the install-clang target for IDEs, as it was never meant for those. 2015-11-10 12:51:25 +00:00
libclang [libclang] Add a flag to create the precompiled preamble on the first parse. 2015-12-15 09:30:31 +00:00
scan-build Honor system specific paths of MAN pages 2015-11-20 18:49:02 +00:00
scan-view [scan-build] Make scan-build work whether it's installed or not 2015-11-13 20:34:15 +00:00
CMakeLists.txt Create install targets for scan-build and scan-view 2015-11-09 16:12:56 +00:00
Makefile Create install targets for scan-build and scan-view 2015-11-09 16:12:56 +00:00