aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
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
commit09a60ac9fe4fff553fb5fdee10cd09c8b6855cf4 (patch)
tree264a950e2d7da73034c7f4b1f597321bbb1a0fd7 /include/llvm
parent20ad298c748085c918600c0605ec64de291b344f (diff)
downloadexternal_llvm-09a60ac9fe4fff553fb5fdee10cd09c8b6855cf4.zip
external_llvm-09a60ac9fe4fff553fb5fdee10cd09c8b6855cf4.tar.gz
external_llvm-09a60ac9fe4fff553fb5fdee10cd09c8b6855cf4.tar.bz2
Remove forward def'ns that are already in Value.h
Do not support output of Modules directly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Assembly/CachedWriter.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/llvm/Assembly/CachedWriter.h b/include/llvm/Assembly/CachedWriter.h
index f78df1a..c1ef103 100644
--- a/include/llvm/Assembly/CachedWriter.h
+++ b/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;
}