diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-08-11 21:29:24 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-08-11 21:29:24 +0000 |
commit | 23430ccb042f11eda205c390d4c2a0d07d08b2e6 (patch) | |
tree | 8753c0e6cd148fe8b0bd60064a55ff3d6da6893f /clang/lib/Frontend/FrontendActions.cpp | |
parent | be4b5171d3663eaee01823c33148de081ffe9e80 (diff) | |
download | bcm5719-llvm-23430ccb042f11eda205c390d4c2a0d07d08b2e6.tar.gz bcm5719-llvm-23430ccb042f11eda205c390d4c2a0d07d08b2e6.zip |
unique_ptr-ify FileSystemStatCache::setNextStatCache
And in the process, discover that FileManager::removeStatCache had a
double-delete when removing an element from the middle of the list (at
the beginning or the end of the list, there was no problem) and add a
unit test to exercise the code path (which successfully crashed when run
(with modifications to match the old API) without this patch applied)
llvm-svn: 215388
Diffstat (limited to 'clang/lib/Frontend/FrontendActions.cpp')
0 files changed, 0 insertions, 0 deletions