clang API Documentation
00001 //===--- Options.h - Option info & table ------------------------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #ifndef CLANG_DRIVER_OPTIONS_H 00011 #define CLANG_DRIVER_OPTIONS_H 00012 00013 namespace clang { 00014 namespace driver { 00015 class OptTable; 00016 00017 namespace options { 00018 enum ID { 00019 OPT_INVALID = 0, // This is not an option ID. 00020 #define OPTION(NAME, ID, KIND, GROUP, ALIAS, FLAGS, PARAM, \ 00021 HELPTEXT, METAVAR) OPT_##ID, 00022 #include "clang/Driver/Options.inc" 00023 LastOption 00024 #undef OPTION 00025 }; 00026 } 00027 00028 OptTable *createDriverOptTable(); 00029 } 00030 } 00031 00032 #endif