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 OPTION(NAME, ID, KIND, GROUP, ALIAS, FLAGS, PARAM, \ 21 HELPTEXT, METAVAR) OPT_##ID, 22 #include "clang/Driver/Options.inc" 23 LastOption 24 #undef OPTION 25 }; 26 } 27 28 OptTable *createDriverOptTable(); 29 } 30 } 31 32 #endif 33