[PATCH] D115931: [analyzer] Enable move semantics for CallDescriptionMap
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 17 07:00:27 PST 2021
steakhal accepted this revision.
steakhal added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: clang/unittests/StaticAnalyzer/CallDescriptionTest.cpp:22
+static_assert(std::is_move_constructible<CallDescriptionMap<bool>>() &&
+ std::is_move_assignable<CallDescriptionMap<bool>>(),
----------------
Now I get why you assert this. This is actually an NFC change, which introduces a new overload/function. It cannot change existing behavior, so we don't need to test this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115931/new/
https://reviews.llvm.org/D115931
More information about the cfe-commits
mailing list