LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::cl::parser< float > Class Template Referencefinal

#include "llvm/Support/CommandLine.h"

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

Public Member Functions

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

Definition at line 1004 of file CommandLine.h.

Constructor & Destructor Documentation

◆ parser()

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

Definition at line 1006 of file CommandLine.h.

References Arg, and llvm::RISCVFenceField::O.

Member Function Documentation

◆ anchor()

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

Reimplemented from llvm::cl::basic_parser_impl.

◆ getValueName()

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

Reimplemented from llvm::cl::basic_parser_impl.

Definition at line 1012 of file CommandLine.h.

References llvm::cl::printOptionDiff().

◆ parse()

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

◆ printOptionDiff()

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

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