[PATCH] D85796: [Analysis] Bug fix for exploded graph branching in evalCall for constructor
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 17 10:15:29 PDT 2020
NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.
Thanks!~
================
Comment at: clang/test/Analysis/smart-ptr.cpp:44
std::unique_ptr<A> P(new A());
+ clang_analyzer_numTimesReached(); // expected-warning {{1}}
P->foo(); // No warning.
----------------
I'm sooo fond of these sanity checks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85796/new/
https://reviews.llvm.org/D85796
More information about the cfe-commits
mailing list