|
LLVM
8.0.1
|
#include "llvm/Support/CommandLine.h"


Classes | |
| class | GenericOptionInfo |
Public Member Functions | |
| generic_parser_base (Option &O) | |
| virtual | ~generic_parser_base ()=default |
| virtual unsigned | getNumOptions () const =0 |
| virtual StringRef | getOption (unsigned N) const =0 |
| virtual StringRef | getDescription (unsigned N) const =0 |
| virtual size_t | getOptionWidth (const Option &O) const |
| virtual const GenericOptionValue & | getOptionValue (unsigned N) const =0 |
| virtual void | printOptionInfo (const Option &O, size_t GlobalWidth) const |
| void | printGenericOptionDiff (const Option &O, const GenericOptionValue &V, const GenericOptionValue &Default, size_t GlobalWidth) const |
| template<class AnyOptionValue > | |
| void | printOptionDiff (const Option &O, const AnyOptionValue &V, const AnyOptionValue &Default, size_t GlobalWidth) const |
| void | initialize () |
| void | getExtraOptionNames (SmallVectorImpl< StringRef > &OptionNames) |
| enum ValueExpected | getValueExpectedFlagDefault () const |
| unsigned | findOption (StringRef Name) |
Protected Attributes | |
| Option & | Owner |
Definition at line 659 of file CommandLine.h.
|
inline |
Definition at line 670 of file CommandLine.h.
References llvm::cl::OptionCategory::getDescription(), N, and llvm::RISCVFenceField::O.
|
virtualdefault |
Definition at line 1645 of file CommandLine.cpp.
Referenced by llvm::PassNameParser::passRegistered().
|
inline |
Definition at line 713 of file CommandLine.h.
References llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
pure virtual |
|
pure virtual |
Definition at line 1656 of file CommandLine.cpp.
References llvm::cl::Option::ArgStr, llvm::cl::Option::hasArgStr(), llvm::max(), Size, llvm::StringRef::size(), and llvm::size().
|
inline |
Definition at line 722 of file CommandLine.h.
References llvm::cl::ValueDisallowed, and llvm::cl::ValueRequired.
|
inline |
Definition at line 711 of file CommandLine.h.
Referenced by llvm::PassNameParser::initialize(), and llvm::RegisterPassParser< RegistryClass >::initialize().
| void generic_parser_base::printGenericOptionDiff | ( | const Option & | O, |
| const GenericOptionValue & | V, | ||
| const GenericOptionValue & | Default, | ||
| size_t | GlobalWidth | ||
| ) | const |
Definition at line 1700 of file CommandLine.cpp.
References llvm::cl::Option::ArgStr, llvm::cl::GenericOptionValue::compare(), llvm::raw_ostream::indent(), llvm::outs(), and llvm::StringRef::size().
|
inline |
Definition at line 705 of file CommandLine.h.
Referenced by llvm::cl::OptionDiffPrinter< DT, DT >::print(), and llvm::cl::printOptionDiff().
Reimplemented in llvm::PassNameParser.
Definition at line 1673 of file CommandLine.cpp.
References llvm::cl::Option::ArgStr, llvm::StringRef::empty(), getDescription(), llvm::cl::Option::hasArgStr(), llvm::cl::Option::HelpStr, llvm::raw_ostream::indent(), llvm::outs(), llvm::cl::Option::printHelpStr(), and llvm::StringRef::size().
Referenced by llvm::PassNameParser::printOptionInfo().
|
protected |
Definition at line 746 of file CommandLine.h.
1.8.13