diff --git a/clang/include/clang/AST/ASTVector.h b/clang/include/clang/AST/ASTVector.h index 13ac375022db..56f4d17cb490 100644 --- a/clang/include/clang/AST/ASTVector.h +++ b/clang/include/clang/AST/ASTVector.h @@ -18,7 +18,7 @@ #ifndef LLVM_CLANG_AST_VECTOR #define LLVM_CLANG_AST_VECTOR -#include "clang/AST/ASTContext.h" +#include "clang/AST/AttrIterator.h" #include "llvm/Support/type_traits.h" #include "llvm/Support/Allocator.h" #include "llvm/ADT/PointerIntPair.h" @@ -51,6 +51,7 @@ namespace std { #endif namespace clang { + class ASTContext; template class ASTVector {