[PATCH] D126757: Fix clang RecursiveASTVisitor for definition of XXXTemplateSpecializationDecl

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 3 16:50:19 PDT 2022


rsmith added inline comments.


================
Comment at: clang/include/clang/AST/RecursiveASTVisitor.h:2040
+      /* Traverse base definition for explicit specializations */              \
+      TRY_TO(Traverse##DECLKIND##Helper(D));                                   \
+    } else {                                                                   \
----------------
rsmith wrote:
> This should be done automatically by the `WalkUpFrom*` implementation, not here. Do you know why that's not happening?
Oh, never mind, this is doing the "traverse" part not the "visit" part. Ignore that comment!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126757/new/

https://reviews.llvm.org/D126757



More information about the cfe-commits mailing list