clang 20.0.0git
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 "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/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 1360 of file CodeGenFunction.h.

Constructor & Destructor Documentation

◆ OpaqueValueMappingData()

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

Definition at line 1369 of file CodeGenFunction.h.

Referenced by bind().

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 1390 of file CodeGenFunction.h.

References OpaqueValueMappingData(), and shouldBindAsLValue().

◆ 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

Definition at line 1415 of file CodeGenFunction.h.

◆ isValid()

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

Definition at line 1414 of file CodeGenFunction.h.

◆ 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: