aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-03-17 07:08:12 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-03-17 07:08:12 +0000
commitc4e3f053808615d9376efda1fafc790b5a9ba1cc (patch)
tree8efbce6c7894197af3f3b09ab9d3fcf7d2403f29 /clang/lib/Basic/SourceManager.cpp
parent6184f4db34942822c369fc70be1700c506f111e0 (diff)
downloadllvm-c4e3f053808615d9376efda1fafc790b5a9ba1cc.zip
llvm-c4e3f053808615d9376efda1fafc790b5a9ba1cc.tar.gz
llvm-c4e3f053808615d9376efda1fafc790b5a9ba1cc.tar.bz2
Fix a false-positive memory leak in code using RemoveFileOnSignal(). Because
libstdc++'s std::string class points to the interior of an allocation, valgrind reports strings still alive at program termination as possible leaks. I didn't use a ManagedStatic for this because System can't depend on Support. llvm-svn: 98716
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions