diff options
author | Malcolm Parsons <malcolm.parsons@gmail.com> | 2016-10-31 15:48:01 +0000 |
---|---|---|
committer | Malcolm Parsons <malcolm.parsons@gmail.com> | 2016-10-31 15:48:01 +0000 |
commit | 54c5a545bebb088c31d17ed0fba053ecd104e0cd (patch) | |
tree | e61412b1e6f84ce7af1c973765aba220ef918c9c /llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp | |
parent | 22586dcb2a25ee8f1b92833bd07f6160be14f706 (diff) | |
download | bcm5719-llvm-54c5a545bebb088c31d17ed0fba053ecd104e0cd.tar.gz bcm5719-llvm-54c5a545bebb088c31d17ed0fba053ecd104e0cd.zip |
[clang-tidy] Enhance modernize-make-unique to handle unique_ptr.reset()
Summary:
Avoid naked new in unique_ptr.reset() by using make_unique
Fixes http://llvm.org/PR27383
Reviewers: alexfh, aaron.ballman
Subscribers: Prazek, cfe-commits
Differential Revision: https://reviews.llvm.org/D25898
llvm-svn: 285589
Diffstat (limited to 'llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp')
0 files changed, 0 insertions, 0 deletions