clang  15.0.0git
Public Member Functions | List of all members
clang::ento::bugreporter::ExpressionHandler Class Referenceabstract

Handles expressions during the tracking. More...

#include "clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h"

Public Member Functions

 ExpressionHandler (Tracker &ParentTracker)
virtual ~ExpressionHandler ()
virtual Tracker::Result handle (const Expr *E, const ExplodedNode *Original, const ExplodedNode *ExprNode, TrackingOptions Opts)=0
 Handle the given expression from the given node. More...
TrackergetParentTracker ()
 \Return the tracker that initiated the process. More...

Detailed Description

Handles expressions during the tracking.

Definition at line 292 of file BugReporterVisitors.h.

Constructor & Destructor Documentation

◆ ExpressionHandler()

clang::ento::bugreporter::ExpressionHandler::ExpressionHandler ( Tracker ParentTracker)

Definition at line 297 of file BugReporterVisitors.h.

◆ ~ExpressionHandler()

virtual clang::ento::bugreporter::ExpressionHandler::~ExpressionHandler ( )

Definition at line 298 of file BugReporterVisitors.h.

Member Function Documentation

◆ getParentTracker()

Tracker& clang::ento::bugreporter::ExpressionHandler::getParentTracker ( )

\Return the tracker that initiated the process.

Definition at line 311 of file BugReporterVisitors.h.

◆ handle()

virtual Tracker::Result clang::ento::bugreporter::ExpressionHandler::handle ( const Expr E,
const ExplodedNode Original,
const ExplodedNode ExprNode,
TrackingOptions  Opts 
pure virtual

Handle the given expression from the given node.

EThe expression value which we are tracking
OriginalA node "downstream" where the tracking started.
ExprNodeA node where the evaluation of E actually happens.
OptsTracking options specifying how we are tracking the value.

The documentation for this class was generated from the following file: