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

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::parser< boolOrDefault >:
Inheritance graph
Collaboration diagram for llvm::cl::parser< boolOrDefault >:
Collaboration graph

Public Member Functions

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

Detailed Description

Definition at line 958 of file CommandLine.h.

Constructor & Destructor Documentation

◆ parser()

Definition at line 960 of file CommandLine.h.

Member Function Documentation

◆ anchor()

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

Reimplemented from llvm::cl::basic_parser_impl.

◆ getValueExpectedFlagDefault()

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

Definition at line 965 of file CommandLine.h.

References llvm::cl::ValueOptional.

◆ getValueName()

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

Reimplemented from llvm::cl::basic_parser_impl.

Definition at line 970 of file CommandLine.h.

◆ parse()

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

◆ printOptionDiff()

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

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