LLVM 20.0.0git
|
#include "llvm/Support/CommandLine.h"
Public Member Functions | |
basic_parser_impl (Option &) | |
virtual | ~basic_parser_impl ()=default |
enum ValueExpected | getValueExpectedFlagDefault () const |
void | getExtraOptionNames (SmallVectorImpl< StringRef > &) |
void | initialize () |
size_t | getOptionWidth (const Option &O) const |
void | printOptionInfo (const Option &O, size_t GlobalWidth) const |
void | printOptionNoValue (const Option &O, size_t GlobalWidth) const |
virtual StringRef | getValueName () const |
virtual void | anchor () |
Protected Member Functions | |
void | printOptionName (const Option &O, size_t GlobalWidth) const |
Definition at line 893 of file CommandLine.h.
|
inline |
Definition at line 895 of file CommandLine.h.
|
virtualdefault |
|
virtual |
Reimplemented in llvm::cl::parser< bool >, llvm::cl::parser< boolOrDefault >, llvm::cl::parser< int >, llvm::cl::parser< long >, llvm::cl::parser< long long >, llvm::cl::parser< unsigned >, llvm::cl::parser< unsigned long >, llvm::cl::parser< unsigned long long >, llvm::cl::parser< double >, llvm::cl::parser< float >, llvm::cl::parser< std::string >, and llvm::cl::parser< char >.
Definition at line 83 of file CommandLine.cpp.
|
inline |
Definition at line 903 of file CommandLine.h.
Definition at line 1928 of file CommandLine.cpp.
References argPlusPrefixesSize(), getValueName(), getValueStr(), llvm::cl::PositionalEatsArgs, and llvm::StringRef::size().
Referenced by printOptionInfo().
|
inline |
Definition at line 899 of file CommandLine.h.
References llvm::cl::ValueRequired.
|
inlinevirtual |
Reimplemented in llvm::cl::parser< bool >, llvm::cl::parser< boolOrDefault >, llvm::cl::parser< int >, llvm::cl::parser< long >, llvm::cl::parser< long long >, llvm::cl::parser< unsigned >, llvm::cl::parser< unsigned long >, llvm::cl::parser< unsigned long long >, llvm::cl::parser< double >, llvm::cl::parser< float >, llvm::cl::parser< std::string >, and llvm::cl::parser< char >.
Definition at line 919 of file CommandLine.h.
Referenced by getOptionWidth(), and printOptionInfo().
|
inline |
Definition at line 905 of file CommandLine.h.
Definition at line 1944 of file CommandLine.cpp.
References getOptionWidth(), getValueName(), getValueStr(), llvm::outs(), llvm::cl::PositionalEatsArgs, llvm::cl::Option::printHelpStr(), and llvm::cl::ValueOptional.
Definition at line 1963 of file CommandLine.cpp.
References llvm::raw_ostream::indent(), and llvm::outs().
Referenced by printOptionNoValue().
Definition at line 2245 of file CommandLine.cpp.
References llvm::outs(), and printOptionName().