[cfe-commits] r169093 - /cfe/trunk/include/clang/AST/ASTVector.h
Benjamin Kramer
benny.kra at googlemail.com
Sat Dec 1 07:18:03 PST 2012
Author: d0k
Date: Sat Dec 1 09:18:03 2012
New Revision: 169093
URL: http://llvm.org/viewvc/llvm-project?rev=169093&view=rev
Log:
Make ASTVector.h standalone without including all of ASTContext.
Modified:
cfe/trunk/include/clang/AST/ASTVector.h
Modified: cfe/trunk/include/clang/AST/ASTVector.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ASTVector.h?rev=169093&r1=169092&r2=169093&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ASTVector.h (original)
+++ cfe/trunk/include/clang/AST/ASTVector.h Sat Dec 1 09:18:03 2012
@@ -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 @@
#endif
namespace clang {
+ class ASTContext;
template<typename T>
class ASTVector {
More information about the cfe-commits
mailing list