Class IRPositionalParameter
An IR variable representing a positional parameter.
Import path
import semmle.code.cpp.ir.IRDirect supertypes
Indirect supertypes
Inherited fields
Predicates
| getIndex | Gets the zero-based index of this parameter. The |
Inherited predicates
| getAst | Gets the AST node that declared this variable, or that introduced this variable as part of the AST-to-IR translation. | from IRUserVariable |
| getEnclosingFunction | Gets the function that references this variable. | from AbstractIRVariable |
| getEnclosingIRFunction | Gets the IR for the function that references this variable. | from AbstractIRVariable |
| getIRType | Gets the language-neutral type of the variable. | from AbstractIRVariable |
| getLanguageType | Gets the type of the variable. | from IRUserVariable |
| getLocation | Gets the source location of this variable. | from AbstractIRVariable |
| getType | Gets the type of the variable. | from AbstractIRVariable |
| getUniqueId | Gets an identifier string for the variable. This identifier is unique within the function. | from IRUserVariable |
| getVariable | Gets the original user-declared variable. | from AbstractIRAutomaticUserVariable |
| isReadOnly | Holds if this variable’s value cannot be changed within a function. Currently used for string literals, but could also apply to | from AbstractIRVariable |
| toString | Gets a textual representation of this element. | from IRUserVariable |