From 1bf43cae5d3175838242060cbbc08f6f4fce3536 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169093 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/ASTVector.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.40.0