xref: /llvm-project/llvm/utils/TableGen/llvm-min-tblgen.cpp (revision 27f30029741ecf023baece7b3dde1ff9011ffefc)
1 //===- llvm-min-tblgen.cpp ------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file contains the main function for LLVM's TableGen.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #include "Basic/TableGen.h"
14 
15 /// Command line parameters are shared between llvm-tblgen and llvm-min-tblgen.
16 /// The indirection to tblgen_main exists to ensure that the static variables
17 /// for the llvm::cl:: mechanism are linked into both executables.
18 int main(int argc, char **argv) { return tblgen_main(argc, argv); }
19