clang 22.0.0git
clang::ento::bugreporter::StoreHandler Class Referenceabstract

Handles stores during the tracking. More...

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

Public Member Functions

 StoreHandler (Tracker &ParentTracker)
virtual ~StoreHandler ()
virtual PathDiagnosticPieceRef handle (StoreInfo SI, BugReporterContext &BRC, TrackingOptions Opts)=0
 Handle the given store and produce the node.
TrackergetParentTracker ()

Protected Member Functions

PathDiagnosticPieceRef constructNote (StoreInfo SI, BugReporterContext &BRC, StringRef NodeText)

Detailed Description

Handles stores during the tracking.

Definition at line 322 of file BugReporterVisitors.h.

Constructor & Destructor Documentation

◆ StoreHandler()

clang::ento::bugreporter::StoreHandler::StoreHandler ( Tracker & ParentTracker)
inline

Definition at line 327 of file BugReporterVisitors.h.

◆ ~StoreHandler()

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

Definition at line 328 of file BugReporterVisitors.h.

Member Function Documentation

◆ constructNote()

◆ getParentTracker()

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

Definition at line 340 of file BugReporterVisitors.h.

◆ handle()

virtual PathDiagnosticPieceRef clang::ento::bugreporter::StoreHandler::handle ( StoreInfo SI,
BugReporterContext & BRC,
TrackingOptions Opts )
pure virtual

Handle the given store and produce the node.

Parameters
SIThe information fully describing the store.
OptsTracking options specifying how we are tracking the value.
Returns
the produced note, null if the handler doesn't support this kind of stores.

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