clang 20.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/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. | |
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. | |
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 1430 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 1444 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::bind(), Data, 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 1457 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::bind(), Data, and clang::OpaqueValueExpr::getSourceExpr().
|
inline |
Definition at line 1466 of file CodeGenFunction.h.
References Data.
|
inline |
Definition at line 1472 of file CodeGenFunction.h.
References Data.
|
inline |
Definition at line 1483 of file CodeGenFunction.h.
References Data.
|
inline |
Definition at line 1478 of file CodeGenFunction.h.
References Data.
|
inlinestatic |
Definition at line 1435 of file CodeGenFunction.h.
References clang::ast_matchers::expr, and clang::CodeGen::CodeGenFunction::OpaqueValueMappingData::shouldBindAsLValue().