From: Chris Lattner Date: Fri, 20 Feb 2009 21:06:29 +0000 (+0000) Subject: prune #includes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68835718c4125f2f66740cd04de7088645ec695d;p=clang prune #includes git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65158 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 200ada2243..89240ee4ed 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -14,12 +14,8 @@ #ifndef LLVM_CLANG_AST_DECL_H #define LLVM_CLANG_AST_DECL_H -#include "clang/Basic/IdentifierTable.h" -#include "clang/Basic/OperatorKinds.h" -#include "clang/AST/DeclarationName.h" #include "clang/AST/DeclBase.h" -#include "clang/Parse/AccessSpecifier.h" -#include "llvm/ADT/SmallVector.h" +#include "clang/AST/DeclarationName.h" namespace clang { class Expr; diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index ca4f333431..312cdf093c 100644 --- a/include/clang/AST/DeclBase.h +++ b/include/clang/AST/DeclBase.h @@ -18,8 +18,6 @@ #include "clang/AST/Type.h" // FIXME: Layering violation #include "clang/Parse/AccessSpecifier.h" -#include "clang/Basic/SourceLocation.h" -#include "llvm/ADT/PointerIntPair.h" namespace clang { class DeclContext; diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index 4d9b7f7a19..49221caa81 100644 --- a/include/clang/AST/DeclObjC.h +++ b/include/clang/AST/DeclObjC.h @@ -15,8 +15,6 @@ #define LLVM_CLANG_AST_DECLOBJC_H #include "clang/AST/Decl.h" -#include "clang/Basic/IdentifierTable.h" -#include "llvm/ADT/DenseMap.h" namespace clang { class Expr; @@ -30,8 +28,7 @@ class ObjCProtocolDecl; class ObjCCategoryDecl; class ObjCPropertyDecl; class ObjCPropertyImplDecl; - - + /// ObjCList - This is a simple template class used to hold various lists of /// decls etc, which is heavily used by the ObjC front-end. This only use case /// this supports is setting the list all at once and then reading elements out