clang API Documentation

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

An RAII object to set (and then clear) a mapping for an OpaqueValueExpr. More...

#include <CodeGenFunction.h>

List of all members.

Public Member Functions

 OpaqueValueMapping (CodeGenFunction &CGF, const AbstractConditionalOperator *op)
 OpaqueValueMapping (CodeGenFunction &CGF, const OpaqueValueExpr *opaqueValue, LValue lvalue)
 OpaqueValueMapping (CodeGenFunction &CGF, const OpaqueValueExpr *opaqueValue, RValue rvalue)
void pop ()
 ~OpaqueValueMapping ()

Static Public Member Functions

static bool shouldBindAsLValue (const Expr *expr)

Detailed Description

An RAII object to set (and then clear) a mapping for an OpaqueValueExpr.

Definition at line 847 of file CodeGenFunction.h.


Constructor & Destructor Documentation

Build the opaque value mapping for the given conditional operator if it's the GNU ?: extension. This is a common enough pattern that the convenience operator is really helpful.

Definition at line 861 of file CodeGenFunction.h.

References clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::bind(), clang::BinaryConditionalOperator::getCommon(), and clang::BinaryConditionalOperator::getOpaqueValue().

Definition at line 872 of file CodeGenFunction.h.

Definition at line 878 of file CodeGenFunction.h.


Member Function Documentation


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