commit | 900ab95e12bb7483971640a91075699eec391804 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Oct 11 16:05:00 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Thu Oct 11 16:05:00 2012 +0000 |
tree | 7c665d86bcfa0926f78ebe6f0ddb5149f0db9035 | |
parent | 50d2b268d7a49719fe9dae89195ff809c4572dbf [diff] |
[libclang] Improve AST serialization done by ASTUnit::Save(). The ASTUnit needs to initialize an ASTWriter at the beginning of parsing to fully handle serialization of a translation unit that imports modules. Do this by introducing an option to enable it, which corresponds to CXTranslationUnit_ForSerialization on the C API side. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165717 91177308-0d34-0410-b5e6-96231b3b80d8