CodeQL library for C/C++
Search

Module TempVariableTag

Defines the public interface to temporary variable tags, which describe the reason a particular IRTempVariable was generated.

Import path

import semmle.code.cpp.ir.implementation.TempVariableTag

Classes

TempVariableTag

A reason that a particular IR temporary variable was generated. For example, it could be generated to hold the return value of a function, or to hold the result of a ?: operator computed on each branch. The set of possible TempVariableTags is language-dependent.