diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-05-08 09:29:28 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-05-08 09:29:28 +0000 |
commit | 2b6b3d1c5db00b7f11cb4de6421a71daa088c751 (patch) | |
tree | 5fb1cecee8f924d230c022e3d4cbce48e3b3fe2e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c03e16a7bcd4644db6e1bacddd47d9fd47669840 (diff) | |
download | llvm-2b6b3d1c5db00b7f11cb4de6421a71daa088c751.zip llvm-2b6b3d1c5db00b7f11cb4de6421a71daa088c751.tar.gz llvm-2b6b3d1c5db00b7f11cb4de6421a71daa088c751.tar.bz2 |
Use a vector of unique_ptrs to fix a memory leak introduced in r208179.
Also removed an inaccurate comment that stated that a DenseMap was used as
storage for the ListInit*'s. It's currently using a FoldingSet.
I expect there's a better way to fix this but I haven't found it yet. FoldingSet
is incompatible with the Pool template and I'm not sure if FoldingSet can be
safely replaced with a DenseMap of computed FoldingSetID's to ListInit*'s.
llvm-svn: 208293
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions