commit | f421089b73800066bbf43613c9a8422a96c1b0c3 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Aug 18 23:38:21 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Aug 18 23:38:21 2010 +0000 |
tree | b452cd99ab3d0deebf9c8ef3bd25479cc91c98b7 | |
parent | cf807c4dfdb23e8fa3f400e0b24ef5b79db7a530 [diff] |
When creating an ASTUnit by parsing source code, set DisableFree to false (not true), so that the CompilerInstance will actually free data structures when it's done. This fixes a major leak with libclang's in-process code completion. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111457 91177308-0d34-0410-b5e6-96231b3b80d8