<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/128179>128179</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-tidy] Check request: boost-modernize-use-std-unique-ptr
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
denzor200
</td>
</tr>
</table>
<pre>
Needs a check that will find usages of `boost::scoped_ptr` and suggest replacing it to C++11's `std::unique_ptr`.
BEFORE
```
boost::scoped_ptr<Resettable> sc(new Resettable);
sc.reset();
```
AFTER
```
std::unique_ptr<Resettable> sc(new Resettable);
sc.reset();
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyskkFr4z4QxT_N-CIc5JEV2wcfnDY-_v9Q9r7I0sTRrmKlGrml_fSL07Bblh4XBBIP5j3NzM8w-3kh6kEfQD8WZs3nmHpHy3tMKGUxRffWgxz-I3IsjLBnsj9FPpssXn0I4uQXJ1Y2M7GIJwF7OcXIGdQAamAbr-S-X3OCvRRmcYLXeSbOItE1GOuXWfgschQPgAfAQ1UBNry5cHYfHuvin1e6e-xADiCHw3H8_-m4vffyfuTwda56eCKmnM0UCNRRsAVsF3oVn2TsQB1ADmx3aVMB29_a5wSQwzB-Oz79JX_11X8ZW7heuU51pqC-ampZ1W1Vd8W5x9rYxmh1ctrqk2t03Sq535u9bppJNarwPUrUErGqauxkt3PKUWdbXbtW6s5oqCVdjA-7EF4uu5jmwjOv1FfYVk1XBDNR4BsbiDaYZS6zd2-AuLGS-q2qnNaZoZbBc-Y_PtnncKPqU5l-FA83fBI9r3RblrhtrbxER2nx71SuTCVnV37MsrzmVKwp9Oecr7xNGUfAcfb5vE47Gy-A4xZ5v8prij_IZsDx1gcDjvdWXnr8FQAA__-mgeTO">