class StoreHandler
Declaration
class StoreHandler { /* full declaration omitted */ };
Description
Handles stores during the tracking.
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:315
Member Variables
- private clang::ento::bugreporter::Tracker& ParentTracker
Method Overview
- public StoreHandler(clang::ento::bugreporter::Tracker & ParentTracker)
- protected clang::ento::PathDiagnosticPieceRef constructNote(clang::ento::bugreporter::StoreInfo SI, clang::ento::BugReporterContext & BRC, llvm::StringRef NodeText)
- public clang::ento::bugreporter::Tracker & getParentTracker()
- public virtual clang::ento::PathDiagnosticPieceRef handle(clang::ento::bugreporter::StoreInfo SI, clang::ento::BugReporterContext & BRC, clang::ento::bugreporter::TrackingOptions Opts)
- public virtual ~StoreHandler()
Methods
¶StoreHandler(clang::ento::bugreporter::Tracker&
ParentTracker)
StoreHandler(clang::ento::bugreporter::Tracker&
ParentTracker)
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:320
Parameters
- clang::ento::bugreporter::Tracker& ParentTracker
¶clang::ento::PathDiagnosticPieceRef constructNote(
clang::ento::bugreporter::StoreInfo SI,
clang::ento::BugReporterContext& BRC,
llvm::StringRef NodeText)
clang::ento::PathDiagnosticPieceRef constructNote(
clang::ento::bugreporter::StoreInfo SI,
clang::ento::BugReporterContext& BRC,
llvm::StringRef NodeText)
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:336
Parameters
¶clang::ento::bugreporter::Tracker&
getParentTracker()
clang::ento::bugreporter::Tracker&
getParentTracker()
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:333
¶virtual clang::ento::PathDiagnosticPieceRef
handle(clang::ento::bugreporter::StoreInfo SI,
clang::ento::BugReporterContext& BRC,
clang::ento::bugreporter::TrackingOptions
Opts)
virtual clang::ento::PathDiagnosticPieceRef
handle(clang::ento::bugreporter::StoreInfo SI,
clang::ento::BugReporterContext& BRC,
clang::ento::bugreporter::TrackingOptions
Opts)
Description
Handle the given store and produce the node.
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:330
Parameters
- clang::ento::bugreporter::StoreInfo SI
- The information fully describing the store.
- clang::ento::BugReporterContext& BRC
- clang::ento::bugreporter::TrackingOptions Opts
- Tracking options specifying how we are tracking the value.
Returns
the produced note, null if the handler doesn't support this kind of stores.
¶virtual ~StoreHandler()
virtual ~StoreHandler()
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:321