Module IRVariable

Import path

semmle.code.cpp.ir.implementation.unaliased_ssa.IRVariable

Imports

FunctionIR
TempVariableTag
cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.

Predicates

Classes

IRAutomaticUserVariable
IRAutomaticVariable

Represents a variable (user-declared or temporary) that is allocated on the stack. This includes all parameters, non-static local variables, and temporary variables.

IRReturnVariable
IRStaticUserVariable
IRTempVariable
IRThrowVariable
IRUserVariable

Represents a user-declared variable referenced by the IR for a function.

IRVariable

Represents a variable referenced by the IR for a function. The variable may be a user-declared variable (IRUserVariable) or a temporary variable generated by the AST-to-IR translation (IRTempVariable).