Module TranslatedExpr
Import path
import semmle.code.cpp.ir.implementation.raw.internal.TranslatedExpr
Imports
Predicates
exprNeedsCopyIfNotLoaded | Holds if the translation of |
getEnclosingDeclaration | |
getEnclosingDeclaration0 | |
getEnclosingFunction | |
getEnclosingVariable | |
getEnclosingVariable0 | |
getTranslatedAllocationSize | |
getTranslatedAllocatorCall | |
getTranslatedDeleteOrDeleteArray | |
getTranslatedExpr | Gets the TranslatedExpr for the specified expression. If |
Classes
StructorCallContext | Abstract class implemented by any |
TranslatedAllocationSize | The IR translation of the allocation size argument passed to |
TranslatedAllocatorCall | The IR translation of a call to |
TranslatedArithmeticLiteral | |
TranslatedArrayExpr | IR translation of an array access expression (e.g. |
TranslatedAssignExpr | |
TranslatedAssignOperation | |
TranslatedAssumeExpr | The IR translation of an |
TranslatedBinaryConditionalExpr | The IR translation of a two-operand conditional operator ( |
TranslatedBinaryOperation | IR translation of a simple binary operation. |
TranslatedBlockAssignExpr | |
TranslatedBoolConversion | Represents the translation of a |
TranslatedBuiltInOperation | The IR translation of a built-in operation (i.e. anything that extends |
TranslatedCoAwaitExpr | IR translation of |
TranslatedCoYieldxpr | IR translation of |
TranslatedCommaExpr | |
TranslatedConditionDeclExpr | The IR translation of a |
TranslatedConditionValue | |
TranslatedConditionalExpr | The IR translation of the |
TranslatedConstantAllocationSize | The IR translation of a constant allocation size. |
TranslatedConstantExpr | IR translation of an expression with a compile-time constant value. This includes not only literals, but also “integral constant expressions” (e.g. |
TranslatedConversion | |
TranslatedCoreExpr | The IR translation of the “core” part of an expression. This is the part of the expression that produces the result value of the expression, before any lvalue-to-rvalue conversion on the result. Every expression has a single |
TranslatedCrementOperation | |
TranslatedDeleteOrDeleteArrayExpr | The IR translation of a |
TranslatedDestructorFieldDestruction | Represents the IR translation of the destruction of a field from within the destructor of the field’s declaring class. |
TranslatedDestructorsAfterThrow | The IR translation of the destructor calls of the parent |
TranslatedDynamicCast | Represents the translation of a dynamic_cast expression. |
TranslatedErrorExpr | |
TranslatedExpr | The IR translation of some part of an expression. A single |
TranslatedFieldAccess | |
TranslatedFunctionAccess | |
TranslatedInheritanceConversion | Represents the translation of a |
TranslatedLambdaExpr | The IR translation of a lambda expression. This initializes a temporary variable whose type is that of the lambda, using the initializer list that represents the captures of the lambda. |
TranslatedLoad | IR translation of an implicit lvalue-to-rvalue conversion on the result of an expression. |
TranslatedNewArrayExpr | The IR translation of a |
TranslatedNewExpr | The IR translation of a |
TranslatedNewOrNewArrayExpr | The IR translation of a |
TranslatedNonConstantAllocationSize | The IR translation of a non-constant allocation size. |
TranslatedNonConstantExpr | IR translation of an expression whose value is not known at compile time. |
TranslatedNonFieldVariableAccess | |
TranslatedPostfixCrementOperation | |
TranslatedPrefixCrementOperation | |
TranslatedReThrowExpr | IR translation of a |
TranslatedResultCopy | IR translation of an expression that simply returns its result. We generate an otherwise useless |
TranslatedReuseExpr | IR translation of a |
TranslatedSimpleConversion | Represents the translation of a conversion expression that generates a |
TranslatedSingleInstructionConversion | Represents the translation of a conversion expression that generates a single instruction. |
TranslatedSingleInstructionExpr | IR translation of an expression that performs a single operation on its operands and returns the result. |
TranslatedStmtExpr | The IR translation of |
TranslatedStringLiteral | |
TranslatedStructuredBindingVariableAccess | The IR translation of a variable access of a structured binding, where the type of the structured binding is not of a reference type, e.g., |
TranslatedSyntheticTemporaryObject | The IR translation of a temporary object synthesized by the IR to hold a class prvalue on which a member access is going to be performed. This differs from |
TranslatedTemporaryObjectExpr | IR translation of the materialization of a temporary object. |
TranslatedTernaryConditionalExpr | The IR translation of the ternary conditional operator ( |
TranslatedThisExpr | |
TranslatedThrowExpr | IR translation of a |
TranslatedThrowValueExpr | IR translation of a |
TranslatedTransparentConversion | |
TranslatedTransparentExpr | |
TranslatedTransparentUnaryOperation | |
TranslatedUnaryExpr | |
TranslatedVacuousDestructorCall | The IR translation of a vacuous destructor call. That is, an expression that looks like a destructor call, but has no effect. |
TranslatedValueCategoryAdjustment | The IR translation of a node synthesized to adjust the value category of its operand. One of: - |
TranslatedVarArg | The IR translation of a |
TranslatedVarArgCopy | The IR translation of a |
TranslatedVarArgsEnd | The IR translation of a |
TranslatedVarArgsStart | The IR translation of a |
TranslatedVariableAccess |