clang  6.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
clang::ento::FindLastStoreBRVisitor Class Referencefinal

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

Inheritance diagram for clang::ento::FindLastStoreBRVisitor:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::FindLastStoreBRVisitor:
Collaboration graph
[legend]

Public Member Functions

 FindLastStoreBRVisitor (KnownSVal V, const MemRegion *R, bool InEnableNullFPSuppression)
 
void Profile (llvm::FoldingSetNodeID &ID) const override
 
std::shared_ptr< PathDiagnosticPieceVisitNode (const ExplodedNode *N, const ExplodedNode *PrevN, BugReporterContext &BRC, BugReport &BR) override
 Return a diagnostic piece which should be associated with the given node. More...
 
- Public Member Functions inherited from clang::ento::BugReporterVisitor
 BugReporterVisitor ()=default
 
 BugReporterVisitor (const BugReporterVisitor &)=default
 
 BugReporterVisitor (BugReporterVisitor &&)
 
virtual ~BugReporterVisitor ()
 
virtual std::unique_ptr< PathDiagnosticPiecegetEndPath (BugReporterContext &BRC, const ExplodedNode *N, BugReport &BR)
 Provide custom definition for the final diagnostic piece on the path - the piece, which is displayed before the path is expanded. More...
 

Static Public Member Functions

static void registerStatementVarDecls (BugReport &BR, const Stmt *S, bool EnableNullFPSuppression)
 Creates a visitor for every VarDecl inside a Stmt and registers it with the BugReport. More...
 
- Static Public Member Functions inherited from clang::ento::BugReporterVisitor
static std::unique_ptr< PathDiagnosticPiecegetDefaultEndPath (BugReporterContext &BRC, const ExplodedNode *N, BugReport &BR)
 Generates the default final diagnostic piece. More...
 

Detailed Description

Definition at line 98 of file BugReporterVisitors.h.

Constructor & Destructor Documentation

◆ FindLastStoreBRVisitor()

clang::ento::FindLastStoreBRVisitor::FindLastStoreBRVisitor ( KnownSVal  V,
const MemRegion R,
bool  InEnableNullFPSuppression 
)
inline

Member Function Documentation

◆ Profile()

void FindLastStoreBRVisitor::Profile ( llvm::FoldingSetNodeID &  ID) const
overridevirtual

Implements clang::ento::BugReporterVisitor.

Definition at line 446 of file BugReporterVisitors.cpp.

◆ registerStatementVarDecls()

void FindLastStoreBRVisitor::registerStatementVarDecls ( BugReport BR,
const Stmt S,
bool  EnableNullFPSuppression 
)
static

Creates a visitor for every VarDecl inside a Stmt and registers it with the BugReport.

Definition at line 1210 of file BugReporterVisitors.cpp.

◆ VisitNode()

std::shared_ptr< PathDiagnosticPiece > FindLastStoreBRVisitor::VisitNode ( const ExplodedNode Succ,
const ExplodedNode Pred,
BugReporterContext BRC,
BugReport BR 
)
overridevirtual

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