diff --git a/clang/lib/AST/Interp/Function.h b/clang/lib/AST/Interp/Function.h index 0bae314e97701..b93477c56346a 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 da4b36f8c1bf3..18a34079c3b16 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 #include