[clang] [NFC] [Sema] [Modules] Use DynamicRecursiveASTVisitor to reduce generted code size (PR #151074)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 29 02:34:27 PDT 2025


================
@@ -13,11 +13,12 @@
 
 #include "clang/AST/ASTConsumer.h"
 #include "clang/AST/ASTMutationListener.h"
-#include "clang/AST/RecursiveASTVisitor.h"
+#include "clang/AST/DynamicRecursiveASTVisitor.h"
 #include "clang/Lex/HeaderSearch.h"
 #include "clang/Lex/Preprocessor.h"
 #include "clang/Sema/ParsedAttr.h"
 #include "clang/Sema/SemaInternal.h"
+#include "llvm/ADT/STLFunctionalExtras.h"
----------------
nikic wrote:

Probably don't need this include after all?

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


More information about the cfe-commits mailing list