diff options
author | Sean Silva <silvas@purdue.edu> | 2012-10-03 21:31:08 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2012-10-03 21:31:08 +0000 |
commit | 3c0962878cbc3bd5e3c482d458a242636fbbe140 (patch) | |
tree | ba03d8f1b356bda1a94bd24caa5f79aeb865c9ed /include/llvm/TableGen | |
parent | 9e21138ab7387fbd58509faf6e90f581914716df (diff) | |
download | external_llvm-3c0962878cbc3bd5e3c482d458a242636fbbe140.zip external_llvm-3c0962878cbc3bd5e3c482d458a242636fbbe140.tar.gz external_llvm-3c0962878cbc3bd5e3c482d458a242636fbbe140.tar.bz2 |
tblgen: Remove last traces of old TableGenMain API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165168 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/TableGen')
-rw-r--r-- | include/llvm/TableGen/Main.h | 5 | ||||
-rw-r--r-- | include/llvm/TableGen/TableGenAction.h | 35 |
2 files changed, 0 insertions, 40 deletions
diff --git a/include/llvm/TableGen/Main.h b/include/llvm/TableGen/Main.h index 663779f..7ef249e 100644 --- a/include/llvm/TableGen/Main.h +++ b/include/llvm/TableGen/Main.h @@ -16,11 +16,6 @@ namespace llvm { -class TableGenAction; - -/// Run the table generator, performing the specified Action on parsed records. -int TableGenMain(char *argv0, TableGenAction &Action); - class RecordKeeper; class raw_ostream; typedef bool TableGenMainFn(raw_ostream &OS, RecordKeeper &Records); diff --git a/include/llvm/TableGen/TableGenAction.h b/include/llvm/TableGen/TableGenAction.h deleted file mode 100644 index 733ae62..0000000 --- a/include/llvm/TableGen/TableGenAction.h +++ /dev/null @@ -1,35 +0,0 @@ -//===- llvm/TableGen/TableGenAction.h - defines TableGenAction --*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file defines the TableGenAction base class to be derived from by -// tblgen tools. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_TABLEGEN_TABLEGENACTION_H -#define LLVM_TABLEGEN_TABLEGENACTION_H - -namespace llvm { - -class raw_ostream; -class RecordKeeper; - -class TableGenAction { - virtual void anchor(); -public: - virtual ~TableGenAction() {} - - /// Perform the action using Records, and write output to OS. - /// @returns true on error, false otherwise - virtual bool operator()(raw_ostream &OS, RecordKeeper &Records) = 0; -}; - -} - -#endif |