From 5b676ce7932cf60d4fd6d101323d8d54b8395804 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 26 Jan 2012 20:44:57 +0000 Subject: [PATCH] tidy up forward declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149078 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/AsmPrinter.h | 12 +++--------- lib/CodeGen/AsmPrinter/DwarfDebug.h | 2 ++ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 303c6c21f42..50bb8e4801b 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -23,11 +23,6 @@ namespace llvm { class BlockAddress; class GCStrategy; class Constant; - class ConstantArray; - class ConstantFP; - class ConstantInt; - class ConstantStruct; - class ConstantVector; class GCMetadataPrinter; class GlobalValue; class GlobalVariable; @@ -37,8 +32,6 @@ namespace llvm { class MachineLocation; class MachineLoopInfo; class MachineLoop; - class MachineConstantPool; - class MachineConstantPoolEntry; class MachineConstantPoolValue; class MachineJumpTableInfo; class MachineModuleInfo; @@ -268,8 +261,9 @@ namespace llvm { virtual void EmitMachineConstantPoolValue(MachineConstantPoolValue *MCPV); - /// EmitXXStructor - Targets can override this to change how global constants - /// that are part of a C++ static/global constructor list are emitted. + /// EmitXXStructor - Targets can override this to change how global + /// constants that are part of a C++ static/global constructor list are + /// emitted. virtual void EmitXXStructor(const Constant *CV) { EmitGlobalConstant(CV); } diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index 16e91375e1d..bdb462ebc0e 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -31,6 +31,8 @@ namespace llvm { class CompileUnit; +class ConstantInt; +class ConstantFP; class DbgVariable; class MachineFrameInfo; class MachineModuleInfo;