diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-08-18 23:38:21 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-08-18 23:38:21 +0000 |
commit | 4c6ed904bf1715da92933e7a9b94da54a0d39ecc (patch) | |
tree | 137e9638c61a5d48b141e0f5f20b0940581517cf /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8a70781cac5029cbd9df759d655e290f24a473af (diff) | |
download | llvm-4c6ed904bf1715da92933e7a9b94da54a0d39ecc.zip llvm-4c6ed904bf1715da92933e7a9b94da54a0d39ecc.tar.gz llvm-4c6ed904bf1715da92933e7a9b94da54a0d39ecc.tar.bz2 |
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.
llvm-svn: 111457
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions