[clang] 14cd8f0 - [clang][bytecode][NFC] Clean up InterpState includes (#178130)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 27 01:17:08 PST 2026
Author: Timm Baeder
Date: 2026-01-27T10:17:04+01:00
New Revision: 14cd8f0fba2039fe37d8610065628a380273a2b8
URL: https://github.com/llvm/llvm-project/commit/14cd8f0fba2039fe37d8610065628a380273a2b8
DIFF: https://github.com/llvm/llvm-project/commit/14cd8f0fba2039fe37d8610065628a380273a2b8.diff
LOG: [clang][bytecode][NFC] Clean up InterpState includes (#178130)
Added:
Modified:
clang/lib/AST/ByteCode/InterpState.h
clang/lib/AST/ByteCode/State.h
Removed:
################################################################################
diff --git a/clang/lib/AST/ByteCode/InterpState.h b/clang/lib/AST/ByteCode/InterpState.h
index abd34f36efcd9..231b51124c70d 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