diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-01 15:18:03 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-01 15:18:03 +0000 |
commit | 1bf43cae5d3175838242060cbbc08f6f4fce3536 (patch) | |
tree | b570f9b6e68429708e6477c12ac3efdeaa856f4a | |
parent | 2fa67efeaf66a9332c30a026dc1c21bef6c33a6c (diff) |
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
-rw-r--r-- | include/clang/AST/ASTVector.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<typename T> class ASTVector { |