[lldb][NFC] Use unique_ptr in DiagnosticManager to express ownership
authorRaphael Isemann <teemperor@gmail.com>
Thu, 10 Oct 2019 08:30:10 +0000 (08:30 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 10 Oct 2019 08:30:10 +0000 (08:30 +0000)
commit7c47b4a113047af971252da41548b2162e5dcbe3
tree1f6d78518b2c9655a000faf3a45f2c3aac67c959
parent80371c74ae63d2f260bcc75408be9c6f81e38465
[lldb][NFC] Use unique_ptr in DiagnosticManager to express ownership

llvm-svn: 374289
lldb/include/lldb/Expression/DiagnosticManager.h
lldb/source/Expression/DiagnosticManager.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
lldb/unittests/Expression/DiagnosticManagerTest.cpp