#include #include #include #include #include #include #include ">

LLVM: lib/Option/OptTable.cpp File Reference (original) (raw)

#include "[llvm/Option/OptTable.h](OptTable%5F8h%5Fsource.html)"
#include "[llvm/ADT/STLExtras.h](STLExtras%5F8h%5Fsource.html)"
#include "[llvm/ADT/StringRef.h](StringRef%5F8h%5Fsource.html)"
#include "[llvm/Option/Arg.h](Arg%5F8h%5Fsource.html)"
#include "[llvm/Option/ArgList.h](ArgList%5F8h%5Fsource.html)"
#include "[llvm/Option/OptSpecifier.h](OptSpecifier%5F8h%5Fsource.html)"
#include "[llvm/Option/Option.h](Option%5F8h%5Fsource.html)"
#include "[llvm/Support/CommandLine.h](CommandLine%5F8h%5Fsource.html)"
#include "[llvm/Support/Compiler.h](Compiler%5F8h%5Fsource.html)"
#include "[llvm/Support/ErrorHandling.h](llvm%5F2Support%5F2ErrorHandling%5F8h%5Fsource.html)"
#include "[llvm/Support/OptionStrCmp.h](OptionStrCmp%5F8h%5Fsource.html)"
#include "[llvm/Support/raw_ostream.h](raw%5F%5Fostream%5F8h%5Fsource.html)"
#include <algorithm>
#include <cassert>
#include <cctype>
#include <cstring>
#include <map>
#include <set>
#include <string>
#include <vector>

Go to the source code of this file.

Functions
static bool isInput (const ArrayRef< StringRef > &Prefixes, StringRef Arg)
static unsigned matchOption (const StringTable &StrTable, ArrayRef< StringTable::Offset > PrefixesTable, const OptTable::Info *I, StringRef Str, bool IgnoreCase)
static bool optionMatches (const StringTable &StrTable, ArrayRef< StringTable::Offset > PrefixesTable, const OptTable::Info &In, StringRef Option)
static std::string getOptionHelpName (const OptTable &Opts, OptSpecifier Id)
static void PrintHelpOptionList (raw_ostream &OS, StringRef Title, std::vector< OptionInfo > &OptionHelp)
static const char * getOptionHelpGroup (const OptTable &Opts, OptSpecifier Id)

getOptionHelpGroup()

getOptionHelpName()

Definition at line 611 of file OptTable.cpp.

References llvm::opt::Option::CommaJoinedClass, llvm::opt::Option::FlagClass, llvm::opt::OptTable::getOption(), llvm::opt::OptTable::getOptionMetaVar(), 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::RemainingArgsJoinedClass, llvm::opt::Option::SeparateClass, llvm::opt::Option::UnknownClass, and llvm::opt::Option::ValuesClass.

isInput()

matchOption()

optionMatches()

PrintHelpOptionList()

void PrintHelpOptionList ( raw_ostream & OS, StringRef Title, std::vector< OptionInfo > & OptionHelp ) static