From c9670ef17d43a6c20fcc0f6765988216754419a0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 31 Jul 2003 04:43:49 +0000 Subject: [PATCH] More minor cleanups of the interface git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7446 91177308-0d34-0410-b5e6-96231b3b80d8 --- support/tools/TableGen/CodeEmitterGen.cpp | 10 ++++++++-- support/tools/TableGen/CodeEmitterGen.h | 4 +++- utils/TableGen/CodeEmitterGen.cpp | 10 ++++++++-- utils/TableGen/CodeEmitterGen.h | 4 +++- 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/support/tools/TableGen/CodeEmitterGen.cpp b/support/tools/TableGen/CodeEmitterGen.cpp index 25bbe5bdbf3..87f3b87dbdf 100644 --- a/support/tools/TableGen/CodeEmitterGen.cpp +++ b/support/tools/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 Insts; diff --git a/support/tools/TableGen/CodeEmitterGen.h b/support/tools/TableGen/CodeEmitterGen.h index 60f11de1da3..16420340243 100644 --- a/support/tools/TableGen/CodeEmitterGen.h +++ b/support/tools/TableGen/CodeEmitterGen.h @@ -7,7 +7,9 @@ #ifndef CODEMITTERGEN_H #define CODEMITTERGEN_H -#include "Record.h" +#include +#include +class RecordKeeper; class CodeEmitterGen { RecordKeeper &Records; diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp index 25bbe5bdbf3..87f3b87dbdf 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 Insts; diff --git a/utils/TableGen/CodeEmitterGen.h b/utils/TableGen/CodeEmitterGen.h index 60f11de1da3..16420340243 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 +#include +class RecordKeeper; class CodeEmitterGen { RecordKeeper &Records;