]> granicus.if.org Git - clang/commitdiff
ASTContext.h: replace include by a forward declaration.
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 2 Aug 2012 17:39:44 +0000 (17:39 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 2 Aug 2012 17:39:44 +0000 (17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161186 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp

index a8b00a7c7bb6590d049832e0c1120e93186d7943..37a86dbd911678741b557293af8a147031a4caec 100644 (file)
@@ -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> {
index edcfe8ea7a52f27079c08b8a6dc197658a2e065e..1c0c0c404de6f99d8be18aafdb627b0d10fc72cd 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/CharUnits.h"
+#include "clang/AST/Comment.h"
 #include "clang/AST/CommentLexer.h"
 #include "clang/AST/CommentSema.h"
 #include "clang/AST/CommentParser.h"