[PATCH] D16376: clang-tidy check: misc-deprecated-special-member-functions

Jonathan B Coe via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 24 04:15:53 PST 2016

jbcoe added a comment.

The Sema diagnostic warning is only produced if a deprecated special member function is used whereas I want to find places where it would be compiler-generated and explicitly delete them. This is useful for library code where I don't have control over the warnings my users will run with.

The AST Matcher I use are simple enough and I'm not convinced that it's worth refactoring Sema to expose what I need. If someone (Richard?) with a deeper understanding can point me in the right direction I'm happy to be corrected.


More information about the cfe-commits mailing list