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

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::parser< int >:
Inheritance graph

Public Member Functions

 parser (Option &O)
bool parse (Option &O, StringRef ArgName, StringRef Arg, int &Val)
StringRef getValueName () const override
void printOptionDiff (const Option &O, int V, OptVal Default, size_t GlobalWidth) const
void anchor () override
- Public Member Functions inherited from llvm::cl::basic_parser< int >
 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< int >
using parser_data_type = int
using OptVal = OptionValue< int >
- Protected Member Functions inherited from llvm::cl::basic_parser_impl
void printOptionName (const Option &O, size_t GlobalWidth) const

Detailed Description

Definition at line 996 of file CommandLine.h.

Constructor & Destructor Documentation

◆ parser()

llvm::cl::parser< int >::parser ( Option O)

Definition at line 998 of file CommandLine.h.

Member Function Documentation

◆ anchor()

void llvm::cl::parser< int >::anchor ( )

Reimplemented from llvm::cl::basic_parser_impl.

◆ getValueName()

StringRef llvm::cl::parser< int >::getValueName ( ) const

Reimplemented from llvm::cl::basic_parser_impl.

Definition at line 1004 of file CommandLine.h.

◆ parse()

bool llvm::cl::parser< int >::parse ( Option O,
StringRef  ArgName,
StringRef  Arg,
int &  Val 

◆ printOptionDiff()

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

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