LLVM  8.0.1
Public Types | Public Member Functions | Protected Member Functions | List of all members
llvm::cl::basic_parser< DataType > Class Template Reference

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::basic_parser< DataType >:
Inheritance graph
[legend]
Collaboration diagram for llvm::cl::basic_parser< DataType >:
Collaboration graph
[legend]

Public Types

using parser_data_type = DataType
 
using OptVal = OptionValue< DataType >
 

Public Member Functions

 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
 
virtual StringRef getValueName () const
 
virtual void anchor ()
 

Protected Member Functions

 ~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 DataType>
class llvm::cl::basic_parser< DataType >

Definition at line 862 of file CommandLine.h.

Member Typedef Documentation

◆ OptVal

template<class DataType>
using llvm::cl::basic_parser< DataType >::OptVal = OptionValue<DataType>

Definition at line 865 of file CommandLine.h.

◆ parser_data_type

template<class DataType>
using llvm::cl::basic_parser< DataType >::parser_data_type = DataType

Definition at line 864 of file CommandLine.h.

Constructor & Destructor Documentation

◆ basic_parser()

template<class DataType>
llvm::cl::basic_parser< DataType >::basic_parser ( Option O)
inline

Definition at line 867 of file CommandLine.h.

◆ ~basic_parser()

template<class DataType>
llvm::cl::basic_parser< DataType >::~basic_parser ( )
protecteddefault

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