clang  10.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 (CheckerNameRef CheckerName, StringRef Name, StringRef Cat, bool SuppressOnSink=false)
 
 BugType (const CheckerBase *Checker, StringRef Name, StringRef Cat, bool SuppressOnSink=false)
 
virtual ~BugType ()=default
 
StringRef getDescription () const
 
StringRef getCategory () const
 
StringRef getCheckerName () 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...
 

Detailed Description

Definition at line 29 of file BugType.h.

Constructor & Destructor Documentation

◆ BugType() [1/2]

clang::ento::BugType::BugType ( CheckerNameRef  CheckerName,
StringRef  Name,
StringRef  Cat,
bool  SuppressOnSink = false 
)
inline

Definition at line 40 of file BugType.h.

◆ BugType() [2/2]

clang::ento::BugType::BugType ( const CheckerBase Checker,
StringRef  Name,
StringRef  Cat,
bool  SuppressOnSink = false 
)
inline

Definition at line 44 of file BugType.h.

◆ ~BugType()

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

Member Function Documentation

◆ getCategory()

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

Definition at line 51 of file BugType.h.

◆ getCheckerName()

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

Definition at line 52 of file BugType.h.

References clang::ento::CheckerBase::getCheckerName(), and Ret().

◆ getDescription()

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

Definition at line 50 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 66 of file BugType.h.


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