[clang] [clang][bytecode][NFC] Clean up InterpState includes (PR #178130)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 26 23:55:53 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/178130.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteCode/InterpState.h (-7)
- (modified) clang/lib/AST/ByteCode/State.h (+1)
``````````diff
diff --git a/clang/lib/AST/ByteCode/InterpState.h b/clang/lib/AST/ByteCode/InterpState.h
index e2e4d5c985f93..cb57ce8788142 100644
--- a/clang/lib/AST/ByteCode/InterpState.h
+++ b/clang/lib/AST/ByteCode/InterpState.h
@@ -20,17 +20,10 @@
#include "InterpFrame.h"
#include "InterpStack.h"
#include "State.h"
-#include "clang/AST/APValue.h"
-#include "clang/AST/ASTDiagnostic.h"
-#include "clang/AST/Expr.h"
-#include "clang/AST/OptionalDiagnostic.h"
namespace clang {
namespace interp {
class Context;
-class Function;
-class InterpStack;
-class InterpFrame;
class SourceMapper;
struct StdAllocatorCaller {
diff --git a/clang/lib/AST/ByteCode/State.h b/clang/lib/AST/ByteCode/State.h
index 0695c61c07a05..2d30ff4596cc7 100644
--- a/clang/lib/AST/ByteCode/State.h
+++ b/clang/lib/AST/ByteCode/State.h
@@ -15,6 +15,7 @@
#include "clang/AST/ASTDiagnostic.h"
#include "clang/AST/Expr.h"
+#include "clang/AST/OptionalDiagnostic.h"
namespace clang {
class OptionalDiagnostic;
``````````
</details>
https://github.com/llvm/llvm-project/pull/178130
More information about the cfe-commits
mailing list