clang 19.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.
 
TrackergetParentTracker ()
 \Return the tracker that initiated the process.
 

Detailed Description

Handles expressions during the tracking.

Definition at line 299 of file BugReporterVisitors.h.

Constructor & Destructor Documentation

◆ ExpressionHandler()

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

Definition at line 304 of file BugReporterVisitors.h.

◆ ~ExpressionHandler()

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

Definition at line 305 of file BugReporterVisitors.h.

Member Function Documentation

◆ getParentTracker()

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

\Return the tracker that initiated the process.

Definition at line 318 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.

Parameters
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: