1 //===--- CC1AsOptions.cpp - Clang Assembler Options Table -----------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "clang/Driver/CC1AsOptions.h"
11 #include "clang/Driver/Option.h"
12 #include "clang/Driver/OptTable.h"
13 using namespace clang
;
14 using namespace clang::driver
;
15 using namespace clang::driver::options
;
16 using namespace clang::driver::cc1asoptions
;
18 static const OptTable::Info CC1AsInfoTable
[] = {
19 #define OPTION(NAME, ID, KIND, GROUP, ALIAS, FLAGS, PARAM, \
21 { NAME, HELPTEXT, METAVAR, Option::KIND##Class, FLAGS, PARAM, \
22 OPT_##GROUP, OPT_##ALIAS },
23 #include "clang/Driver/CC1AsOptions.inc"
28 class CC1AsOptTable
: public OptTable
{
31 : OptTable(CC1AsInfoTable
,
32 sizeof(CC1AsInfoTable
) / sizeof(CC1AsInfoTable
[0])) {}
37 OptTable
*clang::driver::createCC1AsOptTable() {
38 return new CC1AsOptTable();