ΒΆbool trackExpressionValue(
    const clang::ento::ExplodedNode* N,
    const clang::Expr* E,
    clang::ento::PathSensitiveBugReport& R,
    clang::ento::bugreporter::TrackingOptions
        Opts = {})

Description

Attempts to add visitors to track expression value back to its point of origin.

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:363

Parameters

const clang::ento::ExplodedNode* N
A node "downstream" from the evaluation of the statement.
const clang::Expr* E
The expression value which we are tracking
clang::ento::PathSensitiveBugReport& R
The bug report to which visitors should be attached.
clang::ento::bugreporter::TrackingOptions Opts = {}
Tracking options specifying how we are tracking the value.

Returns

Whether or not the function was able to add visitors for this statement. Note that returning \c true does not actually imply that any visitors were added.