This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Ignore template instantiations in modernize-use-equals-delete check
ClosedPublic

Authored by malcolm.parsons on Nov 16 2016, 9:22 AM.

Event Timeline

malcolm.parsons retitled this revision from to [clang-tidy] Ignore template instantiations in modernize-use-equals-delete check.
malcolm.parsons updated this object.
malcolm.parsons added a subscriber: cfe-commits.
hokein accepted this revision.Nov 17 2016, 2:24 AM
hokein added a reviewer: hokein.
hokein added a subscriber: hokein.

LGTM, thanks.

clang-tidy/modernize/UseEqualsDeleteCheck.cpp
37

Can we remove ast_matchers::?

This revision is now accepted and ready to land.Nov 17 2016, 2:24 AM
clang-tidy/modernize/UseEqualsDeleteCheck.cpp
37

No, there's a collision with isTemplateInstantiation(TemplateSpecializationKind Kind).

This revision was automatically updated to reflect the committed changes.