summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/ValueMapper.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-01-21 19:22:34 +0000
committerTed Kremenek <kremenek@apple.com>2010-01-21 19:22:34 +0000
commit819e87379129179b8fef072f81a49cbc752ee58a (patch)
treefa287c6e9ed882828d4fa97da798fa191e9db238 /llvm/lib/Transforms/Utils/ValueMapper.cpp
parent2067816b3ad167a9a6003f9447f9a86a24596739 (diff)
downloadbcm5719-llvm-819e87379129179b8fef072f81a49cbc752ee58a.tar.gz
bcm5719-llvm-819e87379129179b8fef072f81a49cbc752ee58a.zip
Allocate the 'Protocols' array in ObjCInterfaceType and
ObjCObjectPointerType using the allocator associated with ASTContext. Not only does this fix a memory leak, but it also makes these arrays BumpPtrAllocated (in the typical case). llvm-svn: 94090
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud