Skip to content
Commit d03e823f authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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
parent 41e692dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment