]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/llvm/include/llvm/TableGen/Main.h
MFC r226633:
[FreeBSD/stable/9.git] / contrib / llvm / include / llvm / TableGen / Main.h
1 //===- llvm/TableGen/Main.h - tblgen entry point ----------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file declares the common entry point for tblgen tools.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_TABLEGEN_MAIN_H
15 #define LLVM_TABLEGEN_MAIN_H
16
17 namespace llvm {
18
19 class TableGenAction;
20
21 /// Run the table generator, performing the specified Action on parsed records.
22 int TableGenMain(char *argv0, TableGenAction &Action);
23
24 }
25
26 #endif