| //===--- Options.h - Option info & table ------------------------*- C++ -*-===// |
| // |
| // The LLVM Compiler Infrastructure |
| // |
| // This file is distributed under the University of Illinois Open Source |
| // License. See LICENSE.TXT for details. |
| // |
| //===----------------------------------------------------------------------===// |
| |
| #ifndef CLANG_DRIVER_OPTIONS_H |
| #define CLANG_DRIVER_OPTIONS_H |
| |
| namespace clang { |
| namespace driver { |
| class OptTable; |
| |
| namespace options { |
| enum ID { |
| OPT_INVALID = 0, // This is not an option ID. |
| #define OPTION(NAME, ID, KIND, GROUP, ALIAS, FLAGS, PARAM, \ |
| HELPTEXT, METAVAR) OPT_##ID, |
| #include "clang/Driver/Options.inc" |
| LastOption |
| #undef OPTION |
| }; |
| } |
| |
| OptTable *createDriverOptTable(); |
| } |
| } |
| |
| #endif |