summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-08-18 23:38:21 +0000
committerDouglas Gregor <dgregor@apple.com>2010-08-18 23:38:21 +0000
commitf421089b73800066bbf43613c9a8422a96c1b0c3 (patch)
treeb452cd99ab3d0deebf9c8ef3bd25479cc91c98b7 /lib/CodeGen/CodeGenModule.cpp
parentcf807c4dfdb23e8fa3f400e0b24ef5b79db7a530 (diff)
downloadclang-f421089b73800066bbf43613c9a8422a96c1b0c3.tar.gz
clang-f421089b73800066bbf43613c9a8422a96c1b0c3.tar.bz2
clang-f421089b73800066bbf43613c9a8422a96c1b0c3.tar.xz
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
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions