commit | 1bb4b12315d3fd402ba3aa9b95585bcc4cfa2048 | [log] [tgz] |
---|---|---|
author | Mehdi Amini <mehdi.amini@apple.com> | Sat Nov 19 18:19:41 2016 +0000 |
committer | Mehdi Amini <mehdi.amini@apple.com> | Sat Nov 19 18:19:41 2016 +0000 |
tree | fc02fb53b54f85d1fcaed81196e32126c30c7f5d | |
parent | 23f587bb5dcfb84bd5e04133473319063e02fab7 [diff] |
Change setDiagnosticsOutputFile to take a unique_ptr from a raw pointer (NFC) Summary: This makes it explicit that ownership is taken. Also replace all `new` with make_unique<> at call sites. Reviewers: anemet Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D26884 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287449 91177308-0d34-0410-b5e6-96231b3b80d8