diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-20 21:06:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-20 21:06:29 +0000 |
commit | 68835718c4125f2f66740cd04de7088645ec695d (patch) | |
tree | 0b30a80e848e04f3699404c5e771010e98b764eb | |
parent | 88cf7a16902a9189d16653e1061cfda333187b58 (diff) |
prune #includes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65158 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/Decl.h | 6 | ||||
-rw-r--r-- | include/clang/AST/DeclBase.h | 2 | ||||
-rw-r--r-- | include/clang/AST/DeclObjC.h | 5 |
3 files changed, 2 insertions, 11 deletions
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 |