summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-01-26 20:44:57 +0000
committerChris Lattner <sabre@nondot.org>2012-01-26 20:44:57 +0000
commit88fce10928d96bc5373c2f01ad597208fb436574 (patch)
tree88e7d0025b210078196202cfc1b15a5dcbb0ed9f
parenta474bb265b8bb3a43f6ddbcfac83f67c7923ddd1 (diff)
downloadbcm5719-llvm-88fce10928d96bc5373c2f01ad597208fb436574.tar.gz
bcm5719-llvm-88fce10928d96bc5373c2f01ad597208fb436574.zip
tidy up forward declarations.
llvm-svn: 149078
-rw-r--r--llvm/include/llvm/CodeGen/AsmPrinter.h12
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h2
2 files changed, 5 insertions, 9 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h
index 303c6c21f42..50bb8e4801b 100644
--- a/llvm/include/llvm/CodeGen/AsmPrinter.h
+++ b/llvm/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/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 16e91375e1d..bdb462ebc0e 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -31,6 +31,8 @@
namespace llvm {
class CompileUnit;
+class ConstantInt;
+class ConstantFP;
class DbgVariable;
class MachineFrameInfo;
class MachineModuleInfo;
OpenPOWER on IntegriCloud