clang
9.0.0
|
An RAII object to set (and then clear) a mapping for an OpaqueValueExpr. More...
#include "/work/llvm-www-releases/9.0.0/docsbuild/llvm.src/tools/clang/lib/CodeGen/CodeGenFunction.h"
Public Member Functions | |
OpaqueValueMapping (CodeGenFunction &CGF, const AbstractConditionalOperator *op) | |
Build the opaque value mapping for the given conditional operator if it's the GNU ?: extension. More... | |
OpaqueValueMapping (CodeGenFunction &CGF, const OpaqueValueExpr *OV) | |
Build the opaque value mapping for an OpaqueValueExpr whose source expression is set to the expression the OVE represents. More... | |
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) |
An RAII object to set (and then clear) a mapping for an OpaqueValueExpr.
Definition at line 1149 of file CodeGenFunction.h.
|
inline |
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 1163 of file CodeGenFunction.h.
References clang::BinaryConditionalOperator::getCommon(), and clang::BinaryConditionalOperator::getOpaqueValue().
|
inline |
Build the opaque value mapping for an OpaqueValueExpr whose source expression is set to the expression the OVE represents.
Definition at line 1176 of file CodeGenFunction.h.
References clang::OpaqueValueExpr::getSourceExpr().
|
inline |
Definition at line 1185 of file CodeGenFunction.h.
|
inline |
Definition at line 1191 of file CodeGenFunction.h.
|
inline |
Definition at line 1202 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::isValid(), clang::OMPD_unknown, and clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::unbind().
|
inline |
Definition at line 1197 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::clear(), and clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::unbind().
|
inlinestatic |
Definition at line 1154 of file CodeGenFunction.h.
Referenced by clang::CodeGen::CodeGenFunction::getOrCreateOpaqueLValueMapping(), and clang::CodeGen::CodeGenFunction::getOrCreateOpaqueRValueMapping().