[clang-tools-extra] [clang-tidy] Correctly ignore function templates in derived-method-shadowing-base-method (#185741) (PR #185875)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 23 01:13:01 PDT 2026


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

```suggestion
                       // TODO: Templates are not handled yet
```

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


More information about the cfe-commits mailing list