llvm-project/clang/tools/c-index-test
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
..
CMakeLists.txt Fix the static build. 2017-02-15 22:19:04 +00:00
c-index-test.c [libclang] Allow to suspend a translation unit. 2017-05-30 14:25:54 +00:00
core_main.cpp [index] Add 'Parameter' symbol kind and 'Local' symbol property to distinguish function-local symbols 2017-02-26 05:37:56 +00:00