[clang] [clang] Share RecursiveASTVisitor for AST listing (PR #202661)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 6 06:44:17 PDT 2026


================
@@ -48,6 +55,11 @@ namespace {
     void HandleTranslationUnit(ASTContext &Context) override {
       TranslationUnitDecl *D = Context.getTranslationUnitDecl();
 
+      if (OutputKind == List) {
----------------
erichkeane wrote:

I'm concerned a touch how this is the same implementation as `!FilterString.empty` here.

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


More information about the cfe-commits mailing list