[PATCH] D54557: [analyzer] MoveChecker Pt.2: Restrict the warning to STL objects and locals.
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 15 17:51:58 PST 2018
NoQ added a comment.
In https://reviews.llvm.org/D54557#1299736, @xazax.hun wrote:
> It would be great to have a way to extend the list of (possibly non-stl) types to check. But I do understand that the analyzer does not have a great way to set such configuration options right now.
Do you envision room for another attribute here? I.e., a class attribute that says "this object is always unsafe to use after move, unless a method annotated with `reinitializes` is called"?
Repository:
rC Clang
https://reviews.llvm.org/D54557
More information about the cfe-commits
mailing list