LLVM  8.0.1
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 19 of file OptSpecifier.h.

Constructor & Destructor Documentation

◆ OptSpecifier() [1/4]

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

Referenced by OptSpecifier().

◆ OptSpecifier() [2/4]

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

◆ OptSpecifier() [3/4]

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

Definition at line 25 of file OptSpecifier.h.

References OptSpecifier().

◆ OptSpecifier() [4/4]

OptSpecifier::OptSpecifier ( const Option Opt)

Definition at line 96 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 28 of file OptSpecifier.h.

◆ operator!=()

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

Definition at line 33 of file OptSpecifier.h.

◆ operator==()

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

Definition at line 32 of file OptSpecifier.h.

References getID().


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