diff options
author | Pete Cooper <peter_cooper@apple.com> | 2016-03-17 00:33:58 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2016-03-17 00:33:58 +0000 |
commit | 590872b0c2ef0efa4460d859160bbb05f67c020e (patch) | |
tree | 31d0f7122b8b3fe381a8762520e9c74a53d29ae8 /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | 3b32ebb97b78f08a5bd0f4c4c46e89f18fc59f01 (diff) | |
download | llvm-590872b0c2ef0efa4460d859160bbb05f67c020e.zip llvm-590872b0c2ef0efa4460d859160bbb05f67c020e.tar.gz llvm-590872b0c2ef0efa4460d859160bbb05f67c020e.tar.bz2 |
Always pass an allocator to YAMLTraits.
The YAML traits new's when not passed an allocator to parse data.
For atom types, this is a leak as we don't destruct atoms. For
the File here, we do actually destruct File's so that single case of
not using an allocator will be fine.
Should fix a bunch more leaks.
llvm-svn: 263680
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions