clang  14.0.0git
Public Member Functions | Protected Member Functions | List of all members
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. More...
TrackergetParentTracker ()

Protected Member Functions

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

Detailed Description

Handles stores during the tracking.

Definition at line 315 of file BugReporterVisitors.h.

Constructor & Destructor Documentation

◆ StoreHandler()

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

Definition at line 320 of file BugReporterVisitors.h.

◆ ~StoreHandler()

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

Definition at line 321 of file BugReporterVisitors.h.

Member Function Documentation

◆ constructNote()

PathDiagnosticPieceRef StoreHandler::constructNote ( StoreInfo  SI,
BugReporterContext BRC,
StringRef  NodeText 

◆ getParentTracker()

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

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

SIThe information fully describing the store.
OptsTracking options specifying how we are tracking the value.
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: