clang  7.0.0svn
Public Member Functions | List of all members
clang::ento::BugType Class Reference

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

Inheritance diagram for clang::ento::BugType:
Inheritance graph
[legend]

Public Member Functions

 BugType (CheckName Check, StringRef Name, StringRef Cat)
 
 BugType (const CheckerBase *Checker, StringRef Name, StringRef Cat)
 
virtual ~BugType ()=default
 
StringRef getName () const
 
StringRef getCategory () const
 
StringRef getCheckName () const
 
bool isSuppressOnSink () const
 isSuppressOnSink - Returns true if bug reports associated with this bug type should be suppressed if the end node of the report is post-dominated by a sink node. More...
 
void setSuppressOnSink (bool x)
 
virtual void FlushReports (BugReporter &BR)
 

Detailed Description

Definition at line 30 of file BugType.h.

Constructor & Destructor Documentation

◆ BugType() [1/2]

clang::ento::BugType::BugType ( CheckName  Check,
StringRef  Name,
StringRef  Cat 
)
inline

Definition at line 41 of file BugType.h.

◆ BugType() [2/2]

clang::ento::BugType::BugType ( const CheckerBase Checker,
StringRef  Name,
StringRef  Cat 
)
inline

Definition at line 44 of file BugType.h.

References ~BugType().

◆ ~BugType()

virtual clang::ento::BugType::~BugType ( )
virtualdefault

Referenced by BugType().

Member Function Documentation

◆ FlushReports()

void BugType::FlushReports ( BugReporter BR)
virtual

Definition at line 1966 of file BugReporter.cpp.

Referenced by setSuppressOnSink().

◆ getCategory()

StringRef clang::ento::BugType::getCategory ( ) const
inline

Definition at line 50 of file BugType.h.

Referenced by findExecutedLines().

◆ getCheckName()

StringRef clang::ento::BugType::getCheckName ( ) const
inline

◆ getName()

StringRef clang::ento::BugType::getName ( ) const
inline

Definition at line 49 of file BugType.h.

Referenced by findExecutedLines().

◆ isSuppressOnSink()

bool clang::ento::BugType::isSuppressOnSink ( ) const
inline

isSuppressOnSink - Returns true if bug reports associated with this bug type should be suppressed if the end node of the report is post-dominated by a sink node.

Definition at line 66 of file BugType.h.

◆ setSuppressOnSink()

void clang::ento::BugType::setSuppressOnSink ( bool  x)
inline

Definition at line 67 of file BugType.h.

References FlushReports().


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