malcolm.parsons added a subscriber: malcolm.parsons. malcolm.parsons added a comment.
In https://reviews.llvm.org/D24886#554130, @mgehre wrote: > 2. Also, I suspect we will want this attribute to also be written on types I > was thinking about a case were that was useful, and didn't find any. Which of > course doesn't mean that there is none. I will add this. I would like to suppress cppcoreguidelines-pro-type-union-access for all member functions of a class. It might be useful to suppress cppcoreguidelines-pro-type-member-init for all constructors of a class. https://reviews.llvm.org/D24886 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits