From 6e8aa537f86098070a5128168f71e04e1ce140cf Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 11 Aug 2008 05:35:13 +0000 Subject: More #include cleaning - Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h - Moved Sema::getCurMethodDecl() out of line (dependent on ObjCMethodDecl via dyn_cast). llvm-svn: 54629 --- clang/lib/CodeGen/CodeGenFunction.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.h') diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index fd2d03313c2..45f239ac24f 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -25,16 +25,20 @@ #include namespace llvm { + class BasicBlock; class Module; } namespace clang { class ASTContext; class Decl; + class EnumConstantDecl; class FunctionDecl; + class FunctionTypeProto; + class LabelStmt; class ObjCMethodDecl; class TargetInfo; - class FunctionTypeProto; + class VarDecl; namespace CodeGen { class CodeGenModule; -- cgit v1.2.3