[all-commits] [llvm/llvm-project] 0cd98b: [analyzer] Handle std::swap for std::unique_ptr
Deep Majumder via All-commits
all-commits at lists.llvm.org
Sun Jul 18 02:10:02 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0cd98bef1b6feec067a4c60df4df4d44a842811d
https://github.com/llvm/llvm-project/commit/0cd98bef1b6feec067a4c60df4df4d44a842811d
Author: Deep Majumder <deep.majumder2019 at gmail.com>
Date: 2021-07-18 (Sun, 18 Jul 2021)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/SmartPtr.h
M clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
M clang/test/Analysis/smart-ptr-text-output.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list