aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-08 21:52:32 +0000
committerChris Lattner <sabre@nondot.org>2002-04-08 21:52:32 +0000
commit8d3b30ab3cd338b332bafd22dcf18666522d3700 (patch)
treedd4cc65307b303ec36f8d1635d457e6d374038c0
parent42a695c2f2627a04b1fc8e2160d608c39f1dd6ac (diff)
Trim #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2169 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/Writer.h2
-rw-r--r--include/llvm/Assembly/CachedWriter.h13
2 files changed, 12 insertions, 3 deletions
diff --git a/include/llvm/Analysis/Writer.h b/include/llvm/Analysis/Writer.h
index 7f767759ef..1b8ebe8d6a 100644
--- a/include/llvm/Analysis/Writer.h
+++ b/include/llvm/Analysis/Writer.h
@@ -8,7 +8,7 @@
#ifndef LLVM_ANALYSIS_WRITER_H
#define LLVM_ANALYSIS_WRITER_H
-#include "llvm/Assembly/Writer.h"
+#include <iosfwd>
namespace cfg {
diff --git a/include/llvm/Assembly/CachedWriter.h b/include/llvm/Assembly/CachedWriter.h
index 20b4c05ffb..2d4741b7f0 100644
--- a/include/llvm/Assembly/CachedWriter.h
+++ b/include/llvm/Assembly/CachedWriter.h
@@ -10,12 +10,21 @@
#ifndef LLVM_ASSEMBLY_CACHED_WRITER_H
#define LLVM_ASSEMBLY_CACHED_WRITER_H
-#include "llvm/Assembly/Writer.h"
+#include "llvm/Value.h"
#include <iostream>
-class AssemblyWriter; // Internal private class
+class GlobalVariable;
+class Function;
+class FunctionArgument;
+class BasicBlock;
+class Instruction;
+class Constant;
+class PointerType;
class SlotCalculator;
+
+class AssemblyWriter; // Internal private class
+
class CachedWriter {
AssemblyWriter *AW;
SlotCalculator *SC;