hanchenye-llvm-project/clang/tools
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
..
arcmt-test [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
c-arcmt-test
c-index-test [libclang] Allow to suspend a translation unit. 2017-05-30 14:25:54 +00:00
clang-check Add -cc1 flag -ast-dump-all to perform an AST dump including entities that haven't yet been deserialized. 2017-03-09 22:00:01 +00:00
clang-format Make git-clang-format python 3 compatible 2017-05-25 15:24:04 +00:00
clang-format-vs clang-format-vs licence.txt: drop svn:executable 2017-04-13 20:09:18 +00:00
clang-fuzzer Unbreak the clang-fuzzer build after r291184. 2017-01-11 16:42:26 +00:00
clang-import-test [ASTImporter] Improve handling of incomplete types 2017-05-13 00:46:33 +00:00
clang-offload-bundler Spelling mistakes in comments. NFCI. (PR27635) 2017-03-30 14:13:19 +00:00
diag-build
diagtool Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
driver Driver must return non-zero code on errors in command line 2017-05-24 14:57:17 +00:00
libclang [libclang] Allow to suspend a translation unit. 2017-05-30 14:25:54 +00:00
scan-build [scan-build] Patch to scan-build tool to support "--target=<value>" flag 2017-05-26 19:25:32 +00:00
scan-build-py [scan-build-py] merge runner module to analyzer 2017-04-07 11:04:49 +00:00
scan-view Add coding and shebang. 2017-03-02 18:47:22 +00:00
CMakeLists.txt Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00