HomePhabricator

[clang-itdy] Simplify virtual near-miss check

Authored by stephenkelly on Dec 29 2020, 5:18 AM.

Description

[clang-itdy] Simplify virtual near-miss check

Diagnose the problem in templates in the context of the template
declaration instead of in the context of all of the (possibly very many)
template instantiations.

Differential Revision: https://reviews.llvm.org/D96224