[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
Wed Mar 11 09:10:39 PDT 2026


================
@@ -97,7 +101,7 @@ void DerivedMethodShadowingBaseMethodCheck::registerMatchers(
                        cxxConstructorDecl(), isOverride(), isPrivate(),
                        // isFinal(), //included with isOverride,
                        // Templates are not handled yet
----------------
zwuis wrote:

Please update the comment.

https://github.com/llvm/llvm-project/pull/185875


More information about the cfe-commits mailing list