From: Benjamin Kramer Date: Sat, 1 Dec 2012 15:18:03 +0000 (+0000) Subject: Make ASTVector.h standalone without including all of ASTContext. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1bf43cae5d3175838242060cbbc08f6f4fce3536;p=clang Make ASTVector.h standalone without including all of ASTContext. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169093 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/ASTVector.h b/include/clang/AST/ASTVector.h index 13ac375022..56f4d17cb4 100644 --- a/include/clang/AST/ASTVector.h +++ b/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 {