From 8b44da58f7d4dd43526b361ba3c058f02c7d8304 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 1 Dec 2012 15:18:03 +0000 Subject: [PATCH] Make ASTVector.h standalone without including all of ASTContext. llvm-svn: 169093 --- clang/include/clang/AST/ASTVector.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {