Make ASTVector.h standalone without including all of ASTContext.

llvm-svn: 169093
This commit is contained in:
Benjamin Kramer 2012-12-01 15:18:03 +00:00
parent ea70eb30a0
commit 8b44da58f7
1 changed files with 2 additions and 1 deletions

View File

@ -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<typename T>
class ASTVector {