clang  3.9.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 31 of file BugType.h.

Constructor & Destructor Documentation

clang::ento::BugType::BugType ( class CheckName  check,
StringRef  name,
StringRef  cat 
)
inline

Definition at line 40 of file BugType.h.

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

Definition at line 42 of file BugType.h.

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

Definition at line 45 of file BugType.h.

Member Function Documentation

void BugType::FlushReports ( BugReporter BR)
virtual

Definition at line 2525 of file BugReporter.cpp.

Referenced by setSuppressOnSink().

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

Definition at line 49 of file BugType.h.

Referenced by FindReportInEquivalenceClass().

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

Definition at line 50 of file BugType.h.

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

Referenced by FindReportInEquivalenceClass().

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

Definition at line 48 of file BugType.h.

Referenced by describeUninitializedArgumentInCall(), and FindReportInEquivalenceClass().

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

Referenced by FindReportInEquivalenceClass().

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

Definition at line 56 of file BugType.h.

References FlushReports(), and x.


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