[clang] [PATCH 1/6] [clang] Improve nested name specifier AST representation (PR #147835)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 21 18:04:11 PDT 2025


================
@@ -181,14 +181,14 @@ template <bool IsConst> class DynamicRecursiveASTVisitorBase {
   ///
   /// \returns false if the visitation was terminated early, true
   /// otherwise (including when the argument is a Null type).
-  virtual bool TraverseType(QualType T);
+  virtual bool TraverseType(QualType T, bool TraverseQualifier = true);
----------------
zwuis wrote:

Can we add data member/member function `[Dynamic]RecursiveASTVisitor::shouldVisitQualifier` instead of adding function parameter?

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


More information about the cfe-commits mailing list