aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-31 04:43:49 +0000
committerChris Lattner <sabre@nondot.org>2003-07-31 04:43:49 +0000
commitc9670ef17d43a6c20fcc0f6765988216754419a0 (patch)
tree8090c737a7634be193ce26087bb353c11c853c5a /utils
parentf745a20deb40ba0113fe368efcba5393e9d3e99c (diff)
downloadexternal_llvm-c9670ef17d43a6c20fcc0f6765988216754419a0.zip
external_llvm-c9670ef17d43a6c20fcc0f6765988216754419a0.tar.gz
external_llvm-c9670ef17d43a6c20fcc0f6765988216754419a0.tar.bz2
More minor cleanups of the interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7446 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/CodeEmitterGen.cpp10
-rw-r--r--utils/TableGen/CodeEmitterGen.h4
2 files changed, 11 insertions, 3 deletions
diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp
index 25bbe5b..87f3b87 100644
--- a/utils/TableGen/CodeEmitterGen.cpp
+++ b/utils/TableGen/CodeEmitterGen.cpp
@@ -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;
diff --git a/utils/TableGen/CodeEmitterGen.h b/utils/TableGen/CodeEmitterGen.h
index 60f11de..1642034 100644
--- a/utils/TableGen/CodeEmitterGen.h
+++ b/utils/TableGen/CodeEmitterGen.h
@@ -7,7 +7,9 @@
#ifndef CODEMITTERGEN_H
#define CODEMITTERGEN_H
-#include "Record.h"
+#include <string>
+#include <iosfwd>
+class RecordKeeper;
class CodeEmitterGen {
RecordKeeper &Records;