clang  6.0.0svn
Public Member Functions | List of all members
clang::ento::BuiltinBug Class Reference

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

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

Public Member Functions

 BuiltinBug (class CheckName check, const char *name, const char *description)
 
 BuiltinBug (const CheckerBase *checker, const char *name, const char *description)
 
 BuiltinBug (const CheckerBase *checker, const char *name)
 
StringRef getDescription () const
 
- Public Member Functions inherited from clang::ento::BugType
 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 60 of file BugType.h.

Constructor & Destructor Documentation

◆ BuiltinBug() [1/3]

clang::ento::BuiltinBug::BuiltinBug ( class CheckName  check,
const char *  name,
const char *  description 
)
inline

Definition at line 64 of file BugType.h.

◆ BuiltinBug() [2/3]

clang::ento::BuiltinBug::BuiltinBug ( const CheckerBase checker,
const char *  name,
const char *  description 
)
inline

Definition at line 67 of file BugType.h.

◆ BuiltinBug() [3/3]

clang::ento::BuiltinBug::BuiltinBug ( const CheckerBase checker,
const char *  name 
)
inline

Definition at line 71 of file BugType.h.

Member Function Documentation

◆ getDescription()

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

Definition at line 74 of file BugType.h.

Referenced by emitBug().


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