Author: Sam McCall Date: 2023-10-02T15:57:16+02:00 New Revision: 6a01da4b7cbd70988151f1aa0af6213cf14246e8
URL: https://github.com/llvm/llvm-project/commit/6a01da4b7cbd70988151f1aa0af6213cf14246e8 DIFF: https://github.com/llvm/llvm-project/commit/6a01da4b7cbd70988151f1aa0af6213cf14246e8.diff LOG: [clang]Interp] Re-add some header deps of Source.h This is a partial revert of cc696627657c422f8d580354a76d32fda0f0157f The full definition of Decl and Stmt are required by PointerUnion, which validates the number of free bits in Decl* etc based on type alignment. Added: Modified: clang/lib/AST/Interp/Source.h Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/Source.h b/clang/lib/AST/Interp/Source.h index e97e897e72394d5..fec950dd544f8a1 100644 --- a/clang/lib/AST/Interp/Source.h +++ b/clang/lib/AST/Interp/Source.h @@ -14,12 +14,12 @@ #define LLVM_CLANG_AST_INTERP_SOURCE_H #include "PrimType.h" +#include "clang/AST/DeclBase.h" +#include "clang/AST/Stmt.h" #include "llvm/ADT/PointerUnion.h" #include "llvm/Support/Endian.h" namespace clang { -class Stmt; -class Decl; class Expr; class SourceLocation; class SourceRange; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits