clang 22.0.0git
clang::interp::OptPrimType Class Referencefinal

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/PrimType.h"

Public Member Functions

 OptPrimType ()=default
 OptPrimType (std::nullopt_t)
 OptPrimType (PrimType T)
constexpr operator bool () const
PrimType operator* () const
PrimType value_or (PrimType PT) const
bool operator== (PrimType PT) const
bool operator== (OptPrimType OPT) const
bool operator!= (PrimType PT) const
bool operator!= (OptPrimType OPT) const

Detailed Description

Definition at line 53 of file PrimType.h.

Constructor & Destructor Documentation

◆ OptPrimType() [1/3]

clang::interp::OptPrimType::OptPrimType ( )
default

Referenced by operator!=(), and operator==().

◆ OptPrimType() [2/3]

clang::interp::OptPrimType::OptPrimType ( std::nullopt_t )
inline

Definition at line 59 of file PrimType.h.

◆ OptPrimType() [3/3]

clang::interp::OptPrimType::OptPrimType ( PrimType T)
inline

Definition at line 60 of file PrimType.h.

References clang::T.

Member Function Documentation

◆ operator bool()

clang::interp::OptPrimType::operator bool ( ) const
inlineexplicitconstexpr

Definition at line 62 of file PrimType.h.

◆ operator!=() [1/2]

bool clang::interp::OptPrimType::operator!= ( OptPrimType OPT) const
inline

Definition at line 81 of file PrimType.h.

References OptPrimType().

◆ operator!=() [2/2]

bool clang::interp::OptPrimType::operator!= ( PrimType PT) const
inline

Definition at line 80 of file PrimType.h.

◆ operator*()

PrimType clang::interp::OptPrimType::operator* ( ) const
inline

Definition at line 63 of file PrimType.h.

◆ operator==() [1/2]

bool clang::interp::OptPrimType::operator== ( OptPrimType OPT) const
inline

Definition at line 79 of file PrimType.h.

References OptPrimType().

◆ operator==() [2/2]

bool clang::interp::OptPrimType::operator== ( PrimType PT) const
inline

Definition at line 74 of file PrimType.h.

◆ value_or()


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