LLVM API Documentation
#include "llvm/Option/OptTable.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Option/Option.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cctype>
#include <map>
Go to the source code of this file.
Namespaces | |
llvm | |
List of target independent CodeGen pass IDs. | |
llvm::opt | |
Functions | |
static int | llvm::opt::StrCmpOptionNameIgnoreCase (const char *A, const char *B) |
static int | llvm::opt::StrCmpOptionName (const char *A, const char *B) |
static bool | llvm::opt::operator< (const OptTable::Info &A, const OptTable::Info &B) |
static bool | llvm::opt::operator< (const OptTable::Info &I, const char *Name) |
static bool | isInput (const llvm::StringSet<> &Prefixes, StringRef Arg) |
static unsigned | matchOption (const OptTable::Info *I, StringRef Str, bool IgnoreCase) |
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 |
Definition at line 357 of file OptTable.cpp.
References llvm::opt::OptTable::getOptionGroupID(), and llvm::opt::OptTable::getOptionHelpText().
Referenced by llvm::opt::OptTable::PrintHelp().
|
static |
Definition at line 293 of file OptTable.cpp.
References llvm::opt::Option::CommaJoinedClass, llvm::opt::Option::FlagClass, llvm::opt::Option::getKind(), llvm::opt::OptTable::getOption(), llvm::opt::OptTable::getOptionMetaVar(), llvm::opt::Option::getPrefixedName(), llvm::opt::Option::GroupClass, llvm::opt::Option::InputClass, llvm::opt::Option::JoinedAndSeparateClass, llvm::opt::Option::JoinedClass, llvm::opt::Option::JoinedOrSeparateClass, llvm_unreachable, llvm::opt::Option::MultiArgClass, llvm::opt::Option::RemainingArgsClass, llvm::opt::Option::SeparateClass, and llvm::opt::Option::UnknownClass.
Referenced by llvm::opt::OptTable::PrintHelp().
|
static |
Definition at line 168 of file OptTable.cpp.
References llvm::StringMap< char, AllocatorTy >::begin(), llvm::StringMap< char, AllocatorTy >::end(), I, and llvm::StringRef::startswith().
Referenced by llvm::opt::OptTable::ParseOneArg().
|
static |
Definition at line 179 of file OptTable.cpp.
References llvm::opt::OptTable::Info::Name, llvm::cl::Prefix, llvm::opt::OptTable::Info::Prefixes, llvm::StringRef::size(), llvm::StringRef::startswith(), llvm::StringRef::startswith_lower(), and llvm::StringRef::substr().
Referenced by llvm::opt::OptTable::ParseOneArg().
|
static |
Definition at line 324 of file OptTable.cpp.
References llvm::raw_ostream::indent(), and llvm::StringRef::size().
Referenced by llvm::opt::OptTable::PrintHelp().