summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-04-05 21:10:19 +0000
committerDouglas Gregor <dgregor@apple.com>2010-04-05 21:10:19 +0000
commitd03e823fb43be47f8fe3c651bfcf8a3254c3fe1c (patch)
treec6f260659019cb36d845c73fb880e27203624c9e /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent41e692dcf1399068dcdc90df160cb432d567ec50 (diff)
downloadbcm5719-llvm-d03e823fb43be47f8fe3c651bfcf8a3254c3fe1c.tar.gz
bcm5719-llvm-d03e823fb43be47f8fe3c651bfcf8a3254c3fe1c.zip
Clarify the ownership semantics of the Diagnostic object used by
ASTUnit. Previously, we would end up with use-after-free errors because the Diagnostic object would be creating in one place (say, CIndex) and its ownership would not be transferred into the ASTUnit. Fixes <rdar://problem/7818608>. llvm-svn: 100464
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud