[PATCH] D26751: [clang-tidy] Ignore template instantiations in modernize-use-equals-delete check
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 17 02:24:33 PST 2016
hokein accepted this revision.
hokein added a reviewer: hokein.
hokein added a comment.
This revision is now accepted and ready to land.
LGTM, thanks.
================
Comment at: clang-tidy/modernize/UseEqualsDeleteCheck.cpp:37
unless(anyOf(hasBody(stmt()), isDefaulted(), isDeleted(),
+ ast_matchers::isTemplateInstantiation(),
// Ensure that all methods except private special member
----------------
Can we remove `ast_matchers::`?
https://reviews.llvm.org/D26751
More information about the cfe-commits
mailing list