[clang] [clang][bytecode][NFC] Clean up InterpState includes (PR #178130)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 26 23:55:19 PST 2026
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/178130
None
>From a377f2e99844454d041b06a641b6da8f88188144 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder at redhat.com>
Date: Tue, 27 Jan 2026 08:54:35 +0100
Subject: [PATCH] [clang][bytecode][NFC] Clean up InterpState includes
---
clang/lib/AST/ByteCode/InterpState.h | 7 -------
clang/lib/AST/ByteCode/State.h | 1 +
2 files changed, 1 insertion(+), 7 deletions(-)
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;
More information about the cfe-commits
mailing list