diff options
author | Shuai Wang <shuaiwang@google.com> | 2018-09-17 20:10:56 +0000 |
---|---|---|
committer | Shuai Wang <shuaiwang@google.com> | 2018-09-17 20:10:56 +0000 |
commit | 4305993c89defbb7b5dda2685cf92e1d5512dd23 (patch) | |
tree | 6d76a9fb44a632a3561379387bf22e5baeb3fdb0 /clang/lib/StaticAnalyzer/Core/Environment.cpp | |
parent | 02bfd89c9310648b949807ea8021a816ae64ee08 (diff) | |
download | bcm5719-llvm-4305993c89defbb7b5dda2685cf92e1d5512dd23.tar.gz bcm5719-llvm-4305993c89defbb7b5dda2685cf92e1d5512dd23.zip |
[analyzer] Treat std::{move,forward} as casts in ExprMutationAnalyzer.
Summary:
This is a follow up of D52008 and should make the analyzer being able to handle perfect forwardings in real world cases where forwardings are done through multiple layers of function calls with `std::forward`.
Fixes PR38891.
Reviewers: lebedev.ri, JonasToth, george.karpenkov
Subscribers: xazax.hun, szepet, a.sidorin, mikhail.ramalho, Szelethus, cfe-commits
Differential Revision: https://reviews.llvm.org/D52120
llvm-svn: 342409
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/Environment.cpp')
0 files changed, 0 insertions, 0 deletions