|
clang 22.0.0git
|
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. | |
| Tracker & | getParentTracker () |
Protected Member Functions | |
| PathDiagnosticPieceRef | constructNote (StoreInfo SI, BugReporterContext &BRC, StringRef NodeText) |
Handles stores during the tracking.
Definition at line 322 of file BugReporterVisitors.h.
|
inline |
Definition at line 327 of file BugReporterVisitors.h.
|
inlinevirtual |
Definition at line 328 of file BugReporterVisitors.h.
|
protected |
Definition at line 2174 of file BugReporterVisitors.cpp.
References clang::ento::PathDiagnosticLocation::asLocation(), clang::ento::PathDiagnosticLocation::create(), clang::ProgramPoint::getAs(), clang::ento::ExplodedNode::getLocation(), clang::ProgramPoint::getLocationContext(), clang::ento::BugReporterContext::getSourceManager(), clang::ento::PathDiagnosticLocation::isValid(), clang::SourceLocation::isValid(), clang::ento::bugreporter::StoreInfo::SourceOfTheValue, and clang::ento::bugreporter::StoreInfo::StoreSite.
|
inline |
Definition at line 340 of file BugReporterVisitors.h.
|
pure virtual |
Handle the given store and produce the node.
| SI | The information fully describing the store. |
| Opts | Tracking options specifying how we are tracking the value. |