================
@@ -351,7 +351,7 @@ class RenamerClangTidyVisitor
     if (!Decl)
       return true;
 
-    if (const auto *ClassDecl = dyn_cast<TemplateDecl>(Decl))
+    if (const auto *ClassDecl = Decl)
----------------
zwuis wrote:

`Decl` is always non-null here.

https://github.com/llvm/llvm-project/pull/214024
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to