llvm-project/clang/include/clang-c
Erik Verbruggen 346066b68c [libclang] Allow to suspend a translation unit.
A suspended translation unit uses significantly less memory but on the
other side does not support any other calls than
clang_reparseTranslationUnit to resume it or
clang_disposeTranslationUnit to dispose it completely.

This helps IDEs to reduce the memory footprint. The data that is freed
by a call to clang_suspendTranslationUnit will be re-generated on the
next (re)parse anyway. Used with a preamble, this allows pretty fast
resumption of the translation unit for further use (compared to disposal
of the translation unit and a parse from scratch).

Patch by Nikolai Kosjar!

llvm-svn: 304212
2017-05-30 14:25:54 +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] Allow to suspend a translation unit. 2017-05-30 14:25:54 +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