clang 22.0.0git
|
An RAII object to set (and then clear) a mapping for an OpaqueValueExpr. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenFunction.h"
Public Member Functions | |
OpaqueValueMapping (CIRGenFunction &cgf, const AbstractConditionalOperator *op) | |
Build the opaque value mapping for the given conditional operator if it's the GNU ?: extension. | |
OpaqueValueMapping (CIRGenFunction &cgf, const OpaqueValueExpr *ov) | |
Build the opaque value mapping for an OpaqueValueExpr whose source expression is set to the expression the OVE represents. | |
OpaqueValueMapping (CIRGenFunction &cgf, const OpaqueValueExpr *opaqueValue, LValue lvalue) | |
OpaqueValueMapping (CIRGenFunction &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 225 of file CIRGenFunction.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 239 of file CIRGenFunction.h.
References clang::CIRGen::CIRGenFunction::OpaqueValueMappingData::bind(), 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 254 of file CIRGenFunction.h.
References clang::CIRGen::CIRGenFunction::OpaqueValueMappingData::bind(), and clang::OpaqueValueExpr::getSourceExpr().
|
inline |
Definition at line 263 of file CIRGenFunction.h.
|
inline |
Definition at line 268 of file CIRGenFunction.h.
|
inline |
Definition at line 278 of file CIRGenFunction.h.
References clang::CIRGen::CIRGenFunction::OpaqueValueMappingData::isValid(), and clang::CIRGen::CIRGenFunction::OpaqueValueMappingData::unbind().
|
inline |
Definition at line 273 of file CIRGenFunction.h.
References clang::CIRGen::CIRGenFunction::OpaqueValueMappingData::clear(), and clang::CIRGen::CIRGenFunction::OpaqueValueMappingData::unbind().
|
inlinestatic |
Definition at line 230 of file CIRGenFunction.h.
References clang::ast_matchers::expr, and clang::CIRGen::CIRGenFunction::OpaqueValueMappingData::shouldBindAsLValue().