clang  6.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
clang::CodeGen::CodeGenFunction::OpaqueValueMappingData Class Reference

A non-RAII class containing all the information about a bound opaque value. More...

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h"

Public Member Functions

 OpaqueValueMappingData ()
 
bool isValid () const
 
void clear ()
 
void unbind (CodeGenFunction &CGF)
 

Static Public Member Functions

static bool shouldBindAsLValue (const Expr *expr)
 
static OpaqueValueMappingData bind (CodeGenFunction &CGF, const OpaqueValueExpr *ov, const Expr *e)
 
static OpaqueValueMappingData bind (CodeGenFunction &CGF, const OpaqueValueExpr *ov, const LValue &lv)
 
static OpaqueValueMappingData bind (CodeGenFunction &CGF, const OpaqueValueExpr *ov, const RValue &rv)
 

Detailed Description

A non-RAII class containing all the information about a bound opaque value.

OpaqueValueMapping, below, is a RAII wrapper for this which makes individual mappings very simple; using this class directly is useful when you have a variable number of opaque values or don't want the RAII functionality for some reason.

Definition at line 925 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ OpaqueValueMappingData()

clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::OpaqueValueMappingData ( )
inline

Definition at line 934 of file CodeGenFunction.h.

Member Function Documentation

◆ bind() [1/3]

static OpaqueValueMappingData clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::bind ( CodeGenFunction CGF,
const OpaqueValueExpr ov,
const Expr e 
)
inlinestatic

◆ bind() [2/3]

static OpaqueValueMappingData clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::bind ( CodeGenFunction CGF,
const OpaqueValueExpr ov,
const LValue lv 
)
inlinestatic

Definition at line 955 of file CodeGenFunction.h.

◆ bind() [3/3]

static OpaqueValueMappingData clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::bind ( CodeGenFunction CGF,
const OpaqueValueExpr ov,
const RValue rv 
)
inlinestatic

◆ clear()

void clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::clear ( )
inline

◆ isValid()

bool clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::isValid ( ) const
inline

◆ shouldBindAsLValue()

static bool clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::shouldBindAsLValue ( const Expr expr)
inlinestatic

◆ unbind()

void clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::unbind ( CodeGenFunction CGF)
inline

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