]> granicus.if.org Git - clang/commitdiff
Make ASTVector.h standalone without including all of ASTContext.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 1 Dec 2012 15:18:03 +0000 (15:18 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 1 Dec 2012 15:18:03 +0000 (15:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169093 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ASTVector.h

index 13ac375022db8fb36c2b2fa5281d36f76b5c74b7..56f4d17cb490e91b19c3b053460ee771fe4c7dbb 100644 (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 {