From 11112e0d7b1fb2741ed65a5085037918d1425916 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Sat, 7 Aug 2010 00:43:20 +0000 Subject: Tidy some #includes and forward-declarations, and move the C binding code out of PassManager.cpp and into Core.cpp with the rest of the C binding code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110494 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/AsmPrinter.h | 1 + include/llvm/PassManager.h | 1 - include/llvm/PassSupport.h | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 27248de161..62a18fe251 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -54,6 +54,7 @@ namespace llvm { class Mangler; class TargetLoweringObjectFile; class TargetData; + class TargetMachine; class Twine; class Type; diff --git a/include/llvm/PassManager.h b/include/llvm/PassManager.h index 8de0f8342d..c8b5dcaf0f 100644 --- a/include/llvm/PassManager.h +++ b/include/llvm/PassManager.h @@ -22,7 +22,6 @@ namespace llvm { class Pass; -class ModulePass; class Module; class PassManagerImpl; diff --git a/include/llvm/PassSupport.h b/include/llvm/PassSupport.h index 0ca955ba6b..0f559d6df7 100644 --- a/include/llvm/PassSupport.h +++ b/include/llvm/PassSupport.h @@ -26,8 +26,6 @@ namespace llvm { -class TargetMachine; - //===--------------------------------------------------------------------------- /// PassInfo class - An instance of this class exists for every pass known by /// the system, and can be obtained from a live Pass by calling its -- cgit v1.2.3