CodeQL library for C/C++
codeql/cpp-all 0.12.9 (changelog, source)
Search

Class Use

A use of a stack variable.

Import path

import cpp

Direct supertypes

Indirect supertypes

Predicates

getVariable

Gets the target variable of this definition or use.

Inherited predicates

getAPrimaryQlClass

Gets the name of a primary CodeQL class to which this element belongs.

from ElementBase
getPrimaryQlClasses

Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs.

from ElementBase
reaches

Holds if the value of v in this control-flow node reaches defOrUse along some control-flow path without crossing a definition of v.

from DefOrUse
toString

Gets a textual representation of this element.

from ElementBase

Charpred