More minor cleanups of the interface
authorChris Lattner <sabre@nondot.org>
Thu, 31 Jul 2003 04:43:49 +0000 (04:43 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 31 Jul 2003 04:43:49 +0000 (04:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7446 91177308-0d34-0410-b5e6-96231b3b80d8

support/tools/TableGen/CodeEmitterGen.cpp
support/tools/TableGen/CodeEmitterGen.h
utils/TableGen/CodeEmitterGen.cpp
utils/TableGen/CodeEmitterGen.h

index 25bbe5bdbf35b217980f5f22d04ab1084824102a..87f3b87dbdf91b50deb3fe95ceb8806d6c767925 100644 (file)
@@ -1,6 +1,12 @@
-#include "Support/Statistic.h"
-#include "Record.h"
+//===- CodeEmitterGen.cpp - Code Emitter Generator ------------------------===//
+//
+// FIXME: Document.
+//
+//===----------------------------------------------------------------------===//
+
 #include "CodeEmitterGen.h"
+#include "Record.h"
+#include "Support/Statistic.h"
 
 bool CodeEmitterGen::run(std::ostream &o) {
   std::vector<Record*> Insts;
index 60f11de1da30996bee8165551be3ea09d70ddf98..16420340243d6dc9b642bdd13fa60d76b74931bf 100644 (file)
@@ -7,7 +7,9 @@
 #ifndef CODEMITTERGEN_H
 #define CODEMITTERGEN_H
 
-#include "Record.h"
+#include <string>
+#include <iosfwd>
+class RecordKeeper;
 
 class CodeEmitterGen {
   RecordKeeper &Records;
index 25bbe5bdbf35b217980f5f22d04ab1084824102a..87f3b87dbdf91b50deb3fe95ceb8806d6c767925 100644 (file)
@@ -1,6 +1,12 @@
-#include "Support/Statistic.h"
-#include "Record.h"
+//===- CodeEmitterGen.cpp - Code Emitter Generator ------------------------===//
+//
+// FIXME: Document.
+//
+//===----------------------------------------------------------------------===//
+
 #include "CodeEmitterGen.h"
+#include "Record.h"
+#include "Support/Statistic.h"
 
 bool CodeEmitterGen::run(std::ostream &o) {
   std::vector<Record*> Insts;
index 60f11de1da30996bee8165551be3ea09d70ddf98..16420340243d6dc9b642bdd13fa60d76b74931bf 100644 (file)
@@ -7,7 +7,9 @@
 #ifndef CODEMITTERGEN_H
 #define CODEMITTERGEN_H
 
-#include "Record.h"
+#include <string>
+#include <iosfwd>
+class RecordKeeper;
 
 class CodeEmitterGen {
   RecordKeeper &Records;