[PATCH] D26511: [clang-tidy] Rename modernize-use-default to modernize-use-equals-default

Malcolm Parsons via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 10 23:28:51 PST 2016


malcolm.parsons added a comment.

In https://reviews.llvm.org/D26511#592665, @Prazek wrote:

> It is introduced because of "modernize-use-delete" was too ambiguous because of operator delete, so it was changed to "modernize-use-equals-delete". But this case is not ambiguous at all, so I don't see point changing that.


default can also be used in a switch.


https://reviews.llvm.org/D26511





More information about the cfe-commits mailing list