Author: Timm Bäder Date: 2023-10-12T12:51:38+02:00 New Revision: 22b6b8d7b53105bb7fbcbb94c7dd77ce028a8c23
URL: https://github.com/llvm/llvm-project/commit/22b6b8d7b53105bb7fbcbb94c7dd77ce028a8c23 DIFF: https://github.com/llvm/llvm-project/commit/22b6b8d7b53105bb7fbcbb94c7dd77ce028a8c23.diff LOG: [clang][Interp][NFC] Remove Pointer.h include from Function.h Added: Modified: clang/lib/AST/Interp/Function.h clang/lib/AST/Interp/InterpStack.cpp Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/Function.h b/clang/lib/AST/Interp/Function.h index 0bae314e97701d9..b93477c56346a9d 100644 --- a/clang/lib/AST/Interp/Function.h +++ b/clang/lib/AST/Interp/Function.h @@ -15,8 +15,8 @@ #ifndef LLVM_CLANG_AST_INTERP_FUNCTION_H #define LLVM_CLANG_AST_INTERP_FUNCTION_H -#include "Pointer.h" #include "Source.h" +#include "Descriptor.h" #include "clang/AST/ASTLambda.h" #include "clang/AST/Decl.h" #include "llvm/Support/raw_ostream.h" @@ -25,6 +25,7 @@ namespace clang { namespace interp { class Program; class ByteCodeEmitter; +class Pointer; enum PrimType : uint32_t; /// Describes a scope block. diff --git a/clang/lib/AST/Interp/InterpStack.cpp b/clang/lib/AST/Interp/InterpStack.cpp index da4b36f8c1bf351..18a34079c3b16ae 100644 --- a/clang/lib/AST/Interp/InterpStack.cpp +++ b/clang/lib/AST/Interp/InterpStack.cpp @@ -10,6 +10,7 @@ #include "Boolean.h" #include "Floating.h" #include "Integral.h" +#include "Pointer.h" #include <cassert> #include <cstdlib> _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits