Issue 128179
Summary [clang-tidy] Check request: boost-modernize-use-std-unique-ptr
Labels clang-tidy
Assignees
Reporter denzor200
    
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();
```

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to