aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-29 17:42:12 +0000
committerChris Lattner <sabre@nondot.org>2002-04-29 17:42:12 +0000
commitc6f3ae5c66c8e0dab6a2bd9601d0e253ef9ba794 (patch)
treeca8740e8f4bb594ab469bd12b435a9e9515e2878 /include/llvm
parent8b054c0eb96f250b6cebe26cc13bf880d8f44cc2 (diff)
downloadexternal_llvm-c6f3ae5c66c8e0dab6a2bd9601d0e253ef9ba794.zip
external_llvm-c6f3ae5c66c8e0dab6a2bd9601d0e253ef9ba794.tar.gz
external_llvm-c6f3ae5c66c8e0dab6a2bd9601d0e253ef9ba794.tar.bz2
Eliminate duplicate or unneccesary #include's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2397 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Bytecode/Writer.h4
-rw-r--r--include/llvm/CodeGen/RegClass.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/Bytecode/Writer.h b/include/llvm/Bytecode/Writer.h
index e28ea77..b4d5e78 100644
--- a/include/llvm/Bytecode/Writer.h
+++ b/include/llvm/Bytecode/Writer.h
@@ -17,9 +17,9 @@
#ifndef LLVM_BYTECODE_WRITER_H
#define LLVM_BYTECODE_WRITER_H
-#include <iostream.h>
+#include <iosfwd>
class Module;
-void WriteBytecodeToFile(const Module *C, ostream &Out);
+void WriteBytecodeToFile(const Module *C, std::ostream &Out);
#endif
diff --git a/include/llvm/CodeGen/RegClass.h b/include/llvm/CodeGen/RegClass.h
index 3db72b7..c93d696 100644
--- a/include/llvm/CodeGen/RegClass.h
+++ b/include/llvm/CodeGen/RegClass.h
@@ -8,11 +8,9 @@
#ifndef REG_CLASS_H
#define REG_CLASS_H
-#include "llvm/CodeGen/IGNode.h"
#include "llvm/CodeGen/InterferenceGraph.h"
#include "llvm/Target/MachineRegInfo.h"
#include <stack>
-#include <iostream>
class MachineRegClassInfo;
typedef std::vector<unsigned> ReservedColorListType;