clang API Documentation

Public Member Functions | Static Public Member Functions
clang::CodeGen::CodeGenFunction::OpaqueValueMappingData Class Reference

#include <CodeGenFunction.h>

List of all members.

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


Constructor & Destructor Documentation

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

Definition at line 786 of file CodeGenFunction.h.

Referenced by bind().


Member Function Documentation

Definition at line 807 of file CodeGenFunction.h.

References OpaqueValueMappingData(), and shouldBindAsLValue().


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