LLVM 19.0.0git
Public Member Functions | List of all members
llvm::cl::OptionValue< DataType > Struct Template Reference

#include "llvm/Support/CommandLine.h"

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

Public Member Functions

 OptionValue ()=default
 
 OptionValue (const DataType &V)
 
template<class DT >
OptionValue< DataType > & operator= (const DT &V)
 
- Public Member Functions inherited from llvm::cl::OptionValueBase< DataType, std::is_class_v< DataType > >
bool hasValue () const
 
const DataType & getValue () const
 
void setValue (const DT &)
 
bool compare (const DataType &) const
 
bool compare (const GenericOptionValue &) const override
 
virtual bool compare (const GenericOptionValue &V) const =0
 

Additional Inherited Members

- Public Types inherited from llvm::cl::OptionValueBase< DataType, std::is_class_v< DataType > >
using WrapperType = OptionValue< DataType >
 
- Protected Member Functions inherited from llvm::cl::OptionValueBase< DataType, std::is_class_v< DataType > >
 ~OptionValueBase ()=default
 
- Protected Member Functions inherited from llvm::cl::GenericOptionValue
 GenericOptionValue ()=default
 
 GenericOptionValue (const GenericOptionValue &)=default
 
GenericOptionValueoperator= (const GenericOptionValue &)=default
 
 ~GenericOptionValue ()=default
 

Detailed Description

template<class DataType>
struct llvm::cl::OptionValue< DataType >

Definition at line 630 of file CommandLine.h.

Constructor & Destructor Documentation

◆ OptionValue() [1/2]

template<class DataType >
llvm::cl::OptionValue< DataType >::OptionValue ( )
default

◆ OptionValue() [2/2]

template<class DataType >
llvm::cl::OptionValue< DataType >::OptionValue ( const DataType &  V)
inline

Member Function Documentation

◆ operator=()

template<class DataType >
template<class DT >
OptionValue< DataType > & llvm::cl::OptionValue< DataType >::operator= ( const DT &  V)
inline

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