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

#include <BugType.h>

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

Public Member Functions

 BugType (class CheckName check, StringRef name, StringRef cat)
 
 BugType (const CheckerBase *checker, StringRef name, StringRef cat)
 
virtual ~BugType ()
 
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 ( class CheckName  check,
StringRef  name,
StringRef  cat 
)
inline

Definition at line 39 of file BugType.h.

◆ BugType() [2/2]

clang::ento::BugType::BugType ( const CheckerBase checker,
StringRef  name,
StringRef  cat 
)
inline

Definition at line 41 of file BugType.h.

◆ ~BugType()

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

Definition at line 44 of file BugType.h.

Member Function Documentation

◆ FlushReports()

void BugType::FlushReports ( BugReporter BR)
virtual

Definition at line 2539 of file BugReporter.cpp.

Referenced by setSuppressOnSink().

◆ getCategory()

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

Definition at line 48 of file BugType.h.

◆ getCheckName()

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

Definition at line 49 of file BugType.h.

References clang::ento::CheckName::getName().

◆ getName()

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

Definition at line 47 of file BugType.h.

◆ 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 54 of file BugType.h.

◆ setSuppressOnSink()

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

Definition at line 55 of file BugType.h.

References FlushReports().


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