LLVM 18.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 884 of file CommandLine.h.
|
inline |
Definition at line 886 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 894 of file CommandLine.h.
Definition at line 1913 of file CommandLine.cpp.
References argPlusPrefixesSize(), getValueName(), getValueStr(), llvm::cl::PositionalEatsArgs, and llvm::StringRef::size().
Referenced by printOptionInfo().
|
inline |
Definition at line 890 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 910 of file CommandLine.h.
Referenced by getOptionWidth(), and printOptionInfo().
|
inline |
Definition at line 896 of file CommandLine.h.
Definition at line 1929 of file CommandLine.cpp.
References getOptionWidth(), getValueName(), getValueStr(), llvm::outs(), llvm::cl::PositionalEatsArgs, llvm::cl::Option::printHelpStr(), and llvm::cl::ValueOptional.
Definition at line 1948 of file CommandLine.cpp.
References llvm::raw_ostream::indent(), and llvm::outs().
Referenced by printOptionNoValue().
Definition at line 2252 of file CommandLine.cpp.
References llvm::outs(), and printOptionName().