LLVM  8.0.1
Public Member Functions | List of all members
llvm::cl::parser< bool > Class Template Referencefinal

#include "llvm/Support/CommandLine.h"

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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

template<>
class llvm::cl::parser< bool >

Definition at line 876 of file CommandLine.h.

Constructor & Destructor Documentation

◆ parser()

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

Definition at line 878 of file CommandLine.h.

References Arg, llvm::RISCVFenceField::O, and llvm::json::parse().

Member Function Documentation

◆ anchor()

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

Reimplemented from llvm::cl::basic_parser_impl.

◆ getValueExpectedFlagDefault()

enum ValueExpected llvm::cl::parser< bool >::getValueExpectedFlagDefault ( ) const
inline

Definition at line 885 of file CommandLine.h.

References llvm::cl::ValueOptional.

◆ getValueName()

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

Reimplemented from llvm::cl::basic_parser_impl.

Definition at line 890 of file CommandLine.h.

References llvm::cl::printOptionDiff().

◆ initialize()

void llvm::cl::parser< bool >::initialize ( )
inline

Definition at line 883 of file CommandLine.h.

◆ parse()

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

◆ printOptionDiff()

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

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