From 3c0962878cbc3bd5e3c482d458a242636fbbe140 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Wed, 3 Oct 2012 21:31:08 +0000 Subject: 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 --- include/llvm/TableGen/Main.h | 5 ----- include/llvm/TableGen/TableGenAction.h | 35 ---------------------------------- 2 files changed, 40 deletions(-) delete mode 100644 include/llvm/TableGen/TableGenAction.h (limited to 'include/llvm/TableGen') 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 -- cgit v1.1