[PATCH] D104300: [analyzer] Handle `std::swap`
Deep Majumder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 15 08:05:31 PDT 2021
RedDocMD created this revision.
RedDocMD added reviewers: NoQ, vsavchenko, teemperor, xazax.hun.
Herald added subscribers: manas, steakhal, ASDenysPetrov, martong, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, rnkovacs, szepet, baloghadamsoftware.
RedDocMD requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch handles the `std::swap` function specialization
for `std::unique_ptr`. Implemented to be very similar to
how `swap` method is handled
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104300
Files:
clang/lib/StaticAnalyzer/Checkers/SmartPtr.h
clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
clang/test/Analysis/smart-ptr-text-output.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104300.352144.patch
Type: text/x-patch
Size: 4686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210615/c1e263f5/attachment.bin>
More information about the cfe-commits
mailing list