[clang] [clang] remove ClassScopeFunctionSpecializationDecl (PR #66636)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 18 08:36:18 PDT 2023


================
@@ -428,6 +428,8 @@ class ASTNodeTraverser
   void VisitFunctionDecl(const FunctionDecl *D) {
     if (const auto *FTSI = D->getTemplateSpecializationInfo())
       dumpTemplateArgumentList(*FTSI->TemplateArguments);
+    else if (const auto *DFTSI = D->getDependentSpecializationInfo())
----------------
erichkeane wrote:

Annoyingly, we're using 'auto' around here, but based on my understanding of our coding standard, it isn't permitted here (as the RHS doesn't state the type).

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


More information about the cfe-commits mailing list