LLVM 20.0.0git
Public Member Functions | List of all members
llvm::opt::OptSpecifier Class Reference

OptSpecifier - Wrapper class for abstracting references to option IDs. More...

#include "llvm/Option/OptSpecifier.h"

Public Member Functions

 OptSpecifier ()=default
 
 OptSpecifier (bool)=delete
 
 OptSpecifier (unsigned ID)
 
 OptSpecifier (const Option *Opt)
 
bool isValid () const
 
unsigned getID () const
 
bool operator== (OptSpecifier Opt) const
 
bool operator!= (OptSpecifier Opt) const
 

Detailed Description

OptSpecifier - Wrapper class for abstracting references to option IDs.

Definition at line 18 of file OptSpecifier.h.

Constructor & Destructor Documentation

◆ OptSpecifier() [1/4]

llvm::opt::OptSpecifier::OptSpecifier ( )
default

◆ OptSpecifier() [2/4]

llvm::opt::OptSpecifier::OptSpecifier ( bool  )
explicitdelete

◆ OptSpecifier() [3/4]

llvm::opt::OptSpecifier::OptSpecifier ( unsigned  ID)
inline

Definition at line 24 of file OptSpecifier.h.

◆ OptSpecifier() [4/4]

OptSpecifier::OptSpecifier ( const Option Opt)

Definition at line 86 of file OptTable.cpp.

Member Function Documentation

◆ getID()

unsigned llvm::opt::OptSpecifier::getID ( ) const
inline

◆ isValid()

bool llvm::opt::OptSpecifier::isValid ( ) const
inline

Definition at line 27 of file OptSpecifier.h.

◆ operator!=()

bool llvm::opt::OptSpecifier::operator!= ( OptSpecifier  Opt) const
inline

Definition at line 32 of file OptSpecifier.h.

◆ operator==()

bool llvm::opt::OptSpecifier::operator== ( OptSpecifier  Opt) const
inline

Definition at line 31 of file OptSpecifier.h.

References getID().


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