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

Class Def

A definition 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