Class ReturnNode

A data flow node that represents a returned value in the called function.

Import path

import semmle.code.cpp.dataflow.internal.DataFlowPrivate

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getKind

    Gets the kind of this returned value.

    Inherited predicates

    asDefiningArgument

    Gets the argument that defines this DefinitionByReferenceNode, if any.

    from Node
    asExpr

    Gets the expression corresponding to this node, if any.

    from Node
    asParameter

    Gets the parameter corresponding to this node, if any.

    from Node
    asPartialDefinition

    Gets the expression that is partially defined by this node, if any.

    from Node
    asUninitialized

    Gets the uninitialized local variable corresponding to this node, if any.

    from Node
    getEnclosingCallable

    INTERNAL: Do not use. Alternative name for getFunction.

    from Node
    getFunction

    Gets the function to which this node belongs.

    from Node
    getLocation

    Gets the location of this element.

    from Node
    getType

    Gets the type of this node.

    from Node
    getTypeBound

    Gets an upper bound on the type of this node.

    from Node
    hasLocationInfo

    Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

    from Node
    toString

    Gets a textual representation of this element.

    from Node