[clang] [clang][NFC] Add export pragmas (PR #175029)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 8 09:13:41 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Eric Li (tJener)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/175029.diff
1 Files Affected:
- (modified) clang/include/clang/AST/AST.h (+9-9)
``````````diff
diff --git a/clang/include/clang/AST/AST.h b/clang/include/clang/AST/AST.h
index 6d0f274121b25..ae825b9ad8597 100644
--- a/clang/include/clang/AST/AST.h
+++ b/clang/include/clang/AST/AST.h
@@ -14,14 +14,14 @@
#define LLVM_CLANG_AST_AST_H
// This header exports all AST interfaces.
-#include "clang/AST/ASTContext.h"
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclCXX.h"
-#include "clang/AST/DeclObjC.h"
-#include "clang/AST/DeclTemplate.h"
-#include "clang/AST/Expr.h"
-#include "clang/AST/ExprObjC.h"
-#include "clang/AST/StmtVisitor.h"
-#include "clang/AST/Type.h"
+#include "clang/AST/ASTContext.h" // IWYU pragma: export
+#include "clang/AST/Decl.h" // IWYU pragma: export
+#include "clang/AST/DeclCXX.h" // IWYU pragma: export
+#include "clang/AST/DeclObjC.h" // IWYU pragma: export
+#include "clang/AST/DeclTemplate.h" // IWYU pragma: export
+#include "clang/AST/Expr.h" // IWYU pragma: export
+#include "clang/AST/ExprObjC.h" // IWYU pragma: export
+#include "clang/AST/StmtVisitor.h" // IWYU pragma: export
+#include "clang/AST/Type.h" // IWYU pragma: export
#endif
``````````
</details>
https://github.com/llvm/llvm-project/pull/175029
More information about the cfe-commits
mailing list