[clang-tools-extra] [clang-tidy] Fix readability-identifier-naming FP with DefaultCase on function templates (PR #189788)
Zeyi Xu via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 5 03:28:49 PDT 2026
================
@@ -270,6 +270,10 @@ class RenamerClangTidyVisitor
}
bool VisitNamedDecl(NamedDecl *Decl) {
+ if (isa<FunctionTemplateDecl, ClassTemplateDecl, VarTemplateDecl,
+ TypeAliasTemplateDecl>(Decl))
+ return true;
----------------
zeyi2 wrote:
Fixed, sorry for the mistake I made.
https://github.com/llvm/llvm-project/pull/189788
More information about the cfe-commits
mailing list