diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2013-06-25 17:01:21 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2013-06-25 17:01:21 +0000 |
commit | 39dc9f8be437e6fe8fce1fc34884b7279e3fd6cc (patch) | |
tree | 58f97037c96cfb723d5ea65537014f277a02eb78 /clang/lib/Tooling | |
parent | 93372b45839b614573d3b6614b956bc4aed671d5 (diff) | |
download | bcm5719-llvm-39dc9f8be437e6fe8fce1fc34884b7279e3fd6cc.tar.gz bcm5719-llvm-39dc9f8be437e6fe8fce1fc34884b7279e3fd6cc.zip |
In tooling, reenable freeing of datastructures in codegen, just as we do for
the frontend. We don't want to respect the -disable-free flag here.
llvm-svn: 184861
Diffstat (limited to 'clang/lib/Tooling')
-rw-r--r-- | clang/lib/Tooling/Tooling.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Tooling/Tooling.cpp b/clang/lib/Tooling/Tooling.cpp index 4f3edf323f0..afe7fc8903e 100644 --- a/clang/lib/Tooling/Tooling.cpp +++ b/clang/lib/Tooling/Tooling.cpp @@ -95,6 +95,7 @@ static clang::CompilerInvocation *newInvocation( *Invocation, CC1Args.data() + 1, CC1Args.data() + CC1Args.size(), *Diagnostics); Invocation->getFrontendOpts().DisableFree = false; + Invocation->getCodeGenOpts().DisableFree = false; return Invocation; } |