From: Daniel Dunbar Date: Mon, 11 Aug 2008 05:00:27 +0000 (+0000) Subject: More #include cleaning X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de7fb8413b13651fd85b7125d08b3c9ac2816d9d;p=clang More #include cleaning - Remove internal uses of AST.h git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54628 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp index 2d30ed5746..ff0cb124cc 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -14,7 +14,7 @@ #include "CGDebugInfo.h" #include "CodeGenFunction.h" #include "CodeGenModule.h" -#include "clang/AST/AST.h" +#include "clang/AST/ASTContext.h" #include "clang/Basic/SourceManager.h" #include "clang/Basic/TargetInfo.h" #include "llvm/GlobalVariable.h" diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 19ac711f79..f6cca8156a 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -13,7 +13,7 @@ #include "CodeGenFunction.h" #include "CodeGenModule.h" -#include "clang/AST/AST.h" +#include "clang/AST/ASTContext.h" #include "clang/Basic/TargetInfo.h" #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" diff --git a/lib/CodeGen/CGExprAgg.cpp b/lib/CodeGen/CGExprAgg.cpp index 40f28a5c33..5fa7ef5c52 100644 --- a/lib/CodeGen/CGExprAgg.cpp +++ b/lib/CodeGen/CGExprAgg.cpp @@ -13,7 +13,8 @@ #include "CodeGenFunction.h" #include "CodeGenModule.h" -#include "clang/AST/AST.h" +#include "clang/AST/ASTContext.h" +#include "clang/AST/StmtVisitor.h" #include "llvm/Constants.h" #include "llvm/Function.h" #include "llvm/GlobalVariable.h" diff --git a/lib/CodeGen/CGExprComplex.cpp b/lib/CodeGen/CGExprComplex.cpp index 0a03adfcf7..dacbd865c3 100644 --- a/lib/CodeGen/CGExprComplex.cpp +++ b/lib/CodeGen/CGExprComplex.cpp @@ -13,7 +13,8 @@ #include "CodeGenFunction.h" #include "CodeGenModule.h" -#include "clang/AST/AST.h" +#include "clang/AST/ASTContext.h" +#include "clang/AST/StmtVisitor.h" #include "llvm/Constants.h" #include "llvm/Function.h" #include "llvm/ADT/SmallString.h" diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index db8003e43e..b1f7c5161d 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -13,7 +13,8 @@ #include "CodeGenFunction.h" #include "CodeGenModule.h" -#include "clang/AST/AST.h" +#include "clang/AST/ASTContext.h" +#include "clang/AST/StmtVisitor.h" #include "llvm/Constants.h" #include "llvm/Function.h" #include "llvm/GlobalVariable.h" diff --git a/lib/CodeGen/CGExprScalar.cpp b/lib/CodeGen/CGExprScalar.cpp index 17ef1ed35d..63b8efc5dc 100644 --- a/lib/CodeGen/CGExprScalar.cpp +++ b/lib/CodeGen/CGExprScalar.cpp @@ -13,7 +13,8 @@ #include "CodeGenFunction.h" #include "CodeGenModule.h" -#include "clang/AST/AST.h" +#include "clang/AST/ASTContext.h" +#include "clang/AST/StmtVisitor.h" #include "clang/Basic/TargetInfo.h" #include "llvm/Constants.h" #include "llvm/Function.h" diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index a5cf946ea6..0246ba2ee8 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -14,7 +14,8 @@ #include "CGDebugInfo.h" #include "CodeGenModule.h" #include "CodeGenFunction.h" -#include "clang/AST/AST.h" +#include "clang/AST/ASTContext.h" +#include "clang/AST/StmtVisitor.h" #include "clang/Basic/TargetInfo.h" #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index e153c21b77..6b731917ed 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -15,7 +15,7 @@ #include "CodeGenModule.h" #include "CGDebugInfo.h" #include "clang/Basic/TargetInfo.h" -#include "clang/AST/AST.h" +#include "clang/AST/ASTContext.h" #include "llvm/CallingConv.h" #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" diff --git a/lib/CodeGen/CodeGenTypes.cpp b/lib/CodeGen/CodeGenTypes.cpp index dcdacf3279..d57550d0f0 100644 --- a/lib/CodeGen/CodeGenTypes.cpp +++ b/lib/CodeGen/CodeGenTypes.cpp @@ -13,7 +13,8 @@ #include "CodeGenTypes.h" #include "clang/Basic/TargetInfo.h" -#include "clang/AST/AST.h" +#include "clang/AST/ASTContext.h" +#include "clang/AST/Expr.h" #include "clang/AST/RecordLayout.h" #include "llvm/DerivedTypes.h" #include "llvm/Module.h"