MLIR 22.0.0git
llvm::cl::OptionValue< PassArgData > Struct Referencefinal

Define a valid OptionValue for the command line pass argument. More...

Inheritance diagram for llvm::cl::OptionValue< PassArgData >:

Public Member Functions

 OptionValue (const PassArgData &value)
 OptionValue ()=default
void anchor () override
bool hasValue () const
const PassArgData & getValue () const
void setValue (const PassArgData &value)

Public Attributes

PassArgData value

Detailed Description

Define a valid OptionValue for the command line pass argument.

Definition at line 828 of file PassRegistry.cpp.

Constructor & Destructor Documentation

◆ OptionValue() [1/2]

llvm::cl::OptionValue< PassArgData >::OptionValue ( const PassArgData & value)
inline

Definition at line 830 of file PassRegistry.cpp.

References setValue(), and value.

◆ OptionValue() [2/2]

llvm::cl::OptionValue< PassArgData >::OptionValue ( )
default

Member Function Documentation

◆ anchor()

void llvm::cl::OptionValue< PassArgData >::anchor ( )
inlineoverride

Definition at line 832 of file PassRegistry.cpp.

◆ getValue()

const PassArgData & llvm::cl::OptionValue< PassArgData >::getValue ( ) const
inline

Definition at line 835 of file PassRegistry.cpp.

References value.

◆ hasValue()

bool llvm::cl::OptionValue< PassArgData >::hasValue ( ) const
inline

Definition at line 834 of file PassRegistry.cpp.

◆ setValue()

void llvm::cl::OptionValue< PassArgData >::setValue ( const PassArgData & value)
inline

Definition at line 836 of file PassRegistry.cpp.

References value.

Referenced by OptionValue().

Member Data Documentation

◆ value

PassArgData llvm::cl::OptionValue< PassArgData >::value

Definition at line 838 of file PassRegistry.cpp.

Referenced by getValue(), OptionValue(), and setValue().


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