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#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 35