HomePhabricator

[analyzer] Handle std::swap for std::unique_ptr

Authored by RedDocMD on Jul 18 2021, 2:10 AM.

Description

[analyzer] Handle std::swap for std::unique_ptr

This patch handles the std::swap function specialization
for std::unique_ptr. Implemented to be very similar to
how swap method is handled

Differential Revision: https://reviews.llvm.org/D104300

Details