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

Class DefOrUse

Import path

import semmle.code.cpp.ir.dataflow.internal.SsaInternals

Direct supertypes

Indirect supertypes

Known direct subtypes

    Fields

    Predicates

    asDefOrUse

    Gets the underlying non-phi definition or use.

    getLocation

    Gets the location of this element.

    getSourceVariable
    hasIndexInBlock

    Holds if this definition (or use) has index index in block block, and is a definition (or use) of the variable sv.

    toString

    Gets a textual representation of this element.

    Inherited predicates

    asPhi

    Gets the underlying phi node.

    from SsaDefOrUse

    Charpred