clang 17.0.0git
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 CheckerNameRef checker, const char *name, const char *description)
 
 BuiltinBug (const CheckerBase *checker, const char *name, const char *description)
 
 BuiltinBug (class CheckerNameRef checker, const char *name)
 
 BuiltinBug (const CheckerBase *checker, const char *name)
 
StringRef getDescription () const
 
- Public Member Functions inherited from clang::ento::BugType
 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.
 

Detailed Description

Definition at line 67 of file BugType.h.

Constructor & Destructor Documentation

◆ BuiltinBug() [1/4]

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

Definition at line 71 of file BugType.h.

◆ BuiltinBug() [2/4]

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

Definition at line 75 of file BugType.h.

◆ BuiltinBug() [3/4]

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

Definition at line 79 of file BugType.h.

◆ BuiltinBug() [4/4]

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

Definition at line 82 of file BugType.h.

Member Function Documentation

◆ getDescription()

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

Definition at line 85 of file BugType.h.

Referenced by emitBug().


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