llvm-project/clang/include/clang-c
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
..
BuildSystem.h Add clang_free to libclang to free memory allocated in libclang. 2015-07-09 07:53:23 +00:00
CXCompilationDatabase.h [tooling] In CompileCommand, Expose the 'file' that was associated with the command. 2015-09-11 20:43:05 +00:00
CXErrorCode.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
CXString.h libclang: add new StringSet type 2015-11-12 03:57:16 +00:00
Documentation.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Index.h [libclang] Add a flag to create the precompiled preamble on the first parse. 2015-12-15 09:30:31 +00:00
Makefile make: fix installation of generated header files 2012-02-01 22:23:31 +00:00
Platform.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
module.modulemap The Clang C API does not require C++. Thanks to Jordan Rose for pointing out this error! 2014-06-12 22:09:11 +00:00