Author: Timm Bäder Date: 2022-09-29T12:50:55+02:00 New Revision: 1d31549e9373962a1a76eb83b304b0c616aa21e7
URL: https://github.com/llvm/llvm-project/commit/1d31549e9373962a1a76eb83b304b0c616aa21e7 DIFF: https://github.com/llvm/llvm-project/commit/1d31549e9373962a1a76eb83b304b0c616aa21e7.diff LOG: [clang][Interp][NFC] Forward-declare Pointer in InterpFrame.h We don't need the full include here. Added: Modified: clang/lib/AST/Interp/InterpFrame.cpp clang/lib/AST/Interp/InterpFrame.h Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/InterpFrame.cpp b/clang/lib/AST/Interp/InterpFrame.cpp index 9d01bf0333fe..60217ee9da27 100644 --- a/clang/lib/AST/Interp/InterpFrame.cpp +++ b/clang/lib/AST/Interp/InterpFrame.cpp @@ -10,6 +10,7 @@ #include "Function.h" #include "Interp.h" #include "InterpStack.h" +#include "Pointer.h" #include "PrimType.h" #include "Program.h" #include "clang/AST/DeclCXX.h" diff --git a/clang/lib/AST/Interp/InterpFrame.h b/clang/lib/AST/Interp/InterpFrame.h index 16d073c8c3a0..fbd4207d42e2 100644 --- a/clang/lib/AST/Interp/InterpFrame.h +++ b/clang/lib/AST/Interp/InterpFrame.h @@ -14,7 +14,6 @@ #define LLVM_CLANG_AST_INTERP_INTERPFRAME_H #include "Frame.h" -#include "Pointer.h" #include "Program.h" #include "State.h" #include <cstdint> @@ -24,6 +23,7 @@ namespace clang { namespace interp { class Function; class InterpState; +class Pointer; /// Frame storing local variables. class InterpFrame final : public Frame { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits