xazax.hun added a comment. In https://reviews.llvm.org/D54557#1300654, @NoQ wrote:
> 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"? Exactly :) My only concern is that I doubt users will end up passing such options using command line options. Having file base configuration options would be more convenient. They can be easily checked in the repository and evolve together with the product (like the .clang-tidy files in the LLVM repos). https://reviews.llvm.org/D54557 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits