aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/ASTContext.h
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-08-02 17:39:44 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-08-02 17:39:44 +0000
commit1abee64ad71519ea9d91f1fe76441b9cdb75b6c0 (patch)
tree46a108ef02e00202f21019f7f9af2e715b40f638 /include/clang/AST/ASTContext.h
parent5e601dcb398f8af5465d0d1a97a7fcf38d6932ec (diff)
ASTContext.h: replace include by a forward declaration.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/ASTContext.h')
-rw-r--r--include/clang/AST/ASTContext.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h
index a8b00a7c7b..37a86dbd91 100644
--- a/include/clang/AST/ASTContext.h
+++ b/include/clang/AST/ASTContext.h
@@ -20,7 +20,6 @@
#include "clang/Basic/OperatorKinds.h"
#include "clang/Basic/PartialDiagnostic.h"
#include "clang/Basic/VersionTuple.h"
-#include "clang/AST/Comment.h"
#include "clang/AST/Decl.h"
#include "clang/AST/LambdaMangleContext.h"
#include "clang/AST/NestedNameSpecifier.h"
@@ -81,6 +80,10 @@ namespace clang {
namespace Builtin { class Context; }
+ namespace comments {
+ class FullComment;
+ }
+
/// ASTContext - This class holds long-lived AST nodes (such as types and
/// decls) that can be referred to throughout the semantic analysis of a file.
class ASTContext : public RefCountedBase<ASTContext> {