[clang-tools-extra] [clang-tidy] Correctly ignore function templates in derived-method-shadowing-base-method (#185741) (PR #185875)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 13 10:02:23 PDT 2026
================
@@ -97,7 +101,7 @@ void DerivedMethodShadowingBaseMethodCheck::registerMatchers(
cxxConstructorDecl(), isOverride(), isPrivate(),
// isFinal(), //included with isOverride,
// Templates are not handled yet
----------------
zwuis wrote:
I'd like to make it more clear by saying ignoring templates is a workaround or something like that to avoid FP. Perhaps we could add `// TODO` so that it's easier to find.
https://github.com/llvm/llvm-project/pull/185875
More information about the cfe-commits
mailing list