clang API Documentation
#include "clang/Driver/OptTable.h"#include "clang/Driver/Arg.h"#include "clang/Driver/ArgList.h"#include "clang/Driver/Option.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Support/ErrorHandling.h"#include <algorithm>#include <map>
Go to the source code of this file.
Namespaces | |
| namespace | clang |
| namespace | clang::driver |
Functions | |
| static int | StrCmpOptionName (const char *A, const char *B) |
| static bool | clang::driver::operator< (const OptTable::Info &A, const OptTable::Info &B) |
| static bool | clang::driver::operator< (const OptTable::Info &I, const char *Name) |
| static bool | clang::driver::operator< (const char *Name, const OptTable::Info &I) |
| static std::string | getOptionHelpName (const OptTable &Opts, OptSpecifier Id) |
| static void | PrintHelpOptionList (raw_ostream &OS, StringRef Title, std::vector< std::pair< std::string, const char * > > &OptionHelp) |
| static const char * | getOptionHelpGroup (const OptTable &Opts, OptSpecifier Id) |
| static const char* getOptionHelpGroup | ( | const OptTable & | Opts, |
| OptSpecifier | Id | ||
| ) | [static] |
Definition at line 328 of file OptTable.cpp.
References clang::driver::OptTable::getOptionGroupID(), and clang::driver::OptTable::getOptionHelpText().
Referenced by clang::driver::OptTable::PrintHelp().
| static std::string getOptionHelpName | ( | const OptTable & | Opts, |
| OptSpecifier | Id | ||
| ) | [static] |
Definition at line 266 of file OptTable.cpp.
References clang::driver::Option::CommaJoinedClass, clang::driver::Option::FlagClass, clang::driver::OptTable::getOptionKind(), clang::driver::OptTable::getOptionMetaVar(), clang::driver::OptTable::getOptionName(), clang::driver::Option::GroupClass, clang::driver::Option::InputClass, clang::driver::Option::JoinedAndSeparateClass, clang::driver::Option::JoinedClass, clang::driver::Option::JoinedOrSeparateClass, clang::driver::Option::MultiArgClass, clang::driver::Option::SeparateClass, and clang::driver::Option::UnknownClass.
Referenced by clang::driver::OptTable::PrintHelp().
| static void PrintHelpOptionList | ( | raw_ostream & | OS, |
| StringRef | Title, | ||
| std::vector< std::pair< std::string, const char * > > & | OptionHelp | ||
| ) | [static] |
Definition at line 295 of file OptTable.cpp.
References clang::io::Pad().
Referenced by clang::driver::OptTable::PrintHelp().
| static int StrCmpOptionName | ( | const char * | A, |
| const char * | B | ||
| ) | [static] |
Definition at line 29 of file OptTable.cpp.
Referenced by clang::driver::operator<().