LLVM  8.0.1
Public Member Functions | List of all members
llvm::cl::opt_storage< DataType, ExternalStorage, isClass > Class Template Reference

#include "llvm/Support/CommandLine.h"

Inheritance diagram for llvm::cl::opt_storage< DataType, ExternalStorage, isClass >:
Inheritance graph
[legend]

Public Member Functions

 opt_storage ()=default
 
bool setLocation (Option &O, DataType &L)
 
template<class T >
void setValue (const T &V, bool initial=false)
 
DataTypegetValue ()
 
const DataTypegetValue () const
 
 operator DataType () const
 
const OptionValue< DataType > & getDefault () const
 

Detailed Description

template<class DataType, bool ExternalStorage, bool isClass>
class llvm::cl::opt_storage< DataType, ExternalStorage, isClass >

Definition at line 1203 of file CommandLine.h.

Constructor & Destructor Documentation

◆ opt_storage()

template<class DataType, bool ExternalStorage, bool isClass>
llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::opt_storage ( )
default

Member Function Documentation

◆ getDefault()

template<class DataType, bool ExternalStorage, bool isClass>
const OptionValue<DataType>& llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::getDefault ( ) const
inline

Definition at line 1242 of file CommandLine.h.

◆ getValue() [1/2]

template<class DataType, bool ExternalStorage, bool isClass>
DataType& llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::getValue ( )
inline

Definition at line 1231 of file CommandLine.h.

◆ getValue() [2/2]

template<class DataType, bool ExternalStorage, bool isClass>
const DataType& llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::getValue ( ) const
inline

Definition at line 1235 of file CommandLine.h.

◆ operator DataType()

template<class DataType, bool ExternalStorage, bool isClass>
llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::operator DataType ( ) const
inline

Definition at line 1240 of file CommandLine.h.

◆ setLocation()

template<class DataType, bool ExternalStorage, bool isClass>
bool llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::setLocation ( Option O,
DataType L 
)
inline

Definition at line 1216 of file CommandLine.h.

◆ setValue()

template<class DataType, bool ExternalStorage, bool isClass>
template<class T >
void llvm::cl::opt_storage< DataType, ExternalStorage, isClass >::setValue ( const T V,
bool  initial = false 
)
inline

Definition at line 1224 of file CommandLine.h.


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