LLVM 20.0.0git
Public Member Functions | List of all members
llvm::cl::parser< char > Class Reference

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::parser< char >:
Inheritance graph
[legend]

Public Member Functions

 parser (Option &O)
 
bool parse (Option &, StringRef, StringRef Arg, char &Value)
 
StringRef getValueName () const override
 
void printOptionDiff (const Option &O, char V, OptVal Default, size_t GlobalWidth) const
 
void anchor () override
 
- Public Member Functions inherited from llvm::cl::basic_parser< char >
 basic_parser (Option &O)
 
- Public Member Functions inherited from llvm::cl::basic_parser_impl
 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 ()
 

Additional Inherited Members

- Public Types inherited from llvm::cl::basic_parser< char >
using parser_data_type = char
 
using OptVal = OptionValue< char >
 
- Protected Member Functions inherited from llvm::cl::basic_parser_impl
void printOptionName (const Option &O, size_t GlobalWidth) const
 

Detailed Description

Definition at line 1191 of file CommandLine.h.

Constructor & Destructor Documentation

◆ parser()

llvm::cl::parser< char >::parser ( Option O)
inline

Definition at line 1193 of file CommandLine.h.

Member Function Documentation

◆ anchor()

void llvm::cl::parser< char >::anchor ( )
overridevirtual

Reimplemented from llvm::cl::basic_parser_impl.

◆ getValueName()

StringRef llvm::cl::parser< char >::getValueName ( ) const
inlineoverridevirtual

Reimplemented from llvm::cl::basic_parser_impl.

Definition at line 1202 of file CommandLine.h.

◆ parse()

bool llvm::cl::parser< char >::parse ( Option ,
StringRef  ,
StringRef  Arg,
char Value 
)
inline

Definition at line 1196 of file CommandLine.h.

◆ printOptionDiff()

void llvm::cl::parser< char >::printOptionDiff ( const Option O,
char  V,
OptVal  Default,
size_t  GlobalWidth 
) const

The documentation for this class was generated from the following file: