Options.h revision 64bdce3f02091b0a4e1528d690495970c1249803
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 13namespace clang { 14namespace driver { 15 class OptTable; 16 17namespace options { 18 enum ID { 19 OPT_INVALID = 0, // This is not an option ID. 20 OPT_INPUT, // Reserved ID for input option. 21 OPT_UNKNOWN, // Reserved ID for unknown option. 22#define OPTION(NAME, ID, KIND, GROUP, ALIAS, FLAGS, PARAM, \ 23 HELPTEXT, METAVAR) OPT_##ID, 24#include "clang/Driver/Options.inc" 25 LastOption 26#undef OPTION 27 }; 28} 29 30 OptTable *createDriverOptTable(); 31} 32} 33 34#endif 35