summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-28 04:47:33 +0000
committerChris Lattner <sabre@nondot.org>2002-04-28 04:47:33 +0000
commit17e72e9bc38875e2903da3bc699fae01802ec46b (patch)
treeb021c55403ad2a5cfa6037f573a5de53199c99ba
parent5833d481c02bdf0433ba36507e4136f614e15302 (diff)
downloadbcm5719-llvm-17e72e9bc38875e2903da3bc699fae01802ec46b.tar.gz
bcm5719-llvm-17e72e9bc38875e2903da3bc699fae01802ec46b.zip
Remove forward def'ns that are already in Value.h
Do not support output of Modules directly llvm-svn: 2349
-rw-r--r--llvm/include/llvm/Assembly/CachedWriter.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/llvm/include/llvm/Assembly/CachedWriter.h b/llvm/include/llvm/Assembly/CachedWriter.h
index f78df1a5912..c1ef1037ee3 100644
--- a/llvm/include/llvm/Assembly/CachedWriter.h
+++ b/llvm/include/llvm/Assembly/CachedWriter.h
@@ -13,16 +13,9 @@
#include "llvm/Value.h"
#include <iostream>
-class GlobalVariable;
-class Function;
-class Argument;
-class BasicBlock;
-class Instruction;
-class Constant;
+class Module;
class PointerType;
class SlotCalculator;
-
-
class AssemblyWriter; // Internal private class
class CachedWriter {
@@ -46,9 +39,6 @@ public:
inline CachedWriter &operator<<(Value *X) {
return *this << (const Value*)X;
}
- inline CachedWriter &operator<<(const Module *X) {
- return *this << (const Value*)X;
- }
inline CachedWriter &operator<<(const GlobalVariable *X) {
return *this << (const Value*)X;
}
OpenPOWER on IntegriCloud