diff options
author | Greg Clayton <gclayton@apple.com> | 2012-01-27 18:45:39 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-01-27 18:45:39 +0000 |
commit | 29ad7b914f78c9d9dc1fc4a2f7a4d09ca7bc3f79 (patch) | |
tree | f3d0b6affdc53e46945374656c3193f64a5f8352 /clang/lib/Basic/Module.cpp | |
parent | 14a37ab64d2daf919d16494306ee1703ccae3ecd (diff) | |
download | bcm5719-llvm-29ad7b914f78c9d9dc1fc4a2f7a4d09ca7bc3f79.tar.gz bcm5719-llvm-29ad7b914f78c9d9dc1fc4a2f7a4d09ca7bc3f79.zip |
Added a ModuleList::Destroy() method which will reclaim the std::vector
memory by doing a swap.
Also added a few utilty functions that can be enabled for debugging issues
with modules staying around too long when external clients still have references
to them.
llvm-svn: 149138
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions