]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/llvm/tools/clang/include/clang/Driver/Options.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / llvm / tools / clang / include / clang / Driver / Options.h
1 //===--- Options.h - Option info & table ------------------------*- 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 #ifndef CLANG_DRIVER_OPTIONS_H
11 #define CLANG_DRIVER_OPTIONS_H
12
13 namespace clang {
14 namespace driver {
15   class OptTable;
16
17 namespace options {
18   enum ID {
19     OPT_INVALID = 0, // This is not an option ID.
20 #define PREFIX(NAME, VALUE)
21 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, FLAGS, PARAM, \
22                HELPTEXT, METAVAR) OPT_##ID,
23 #include "clang/Driver/Options.inc"
24     LastOption
25 #undef OPTION
26 #undef PREFIX
27   };
28 }
29
30   OptTable *createDriverOptTable();
31 }
32 }
33
34 #endif