clang 22.0.0git
clang::ento::retaincountchecker::RefCountBug Class Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.h"

Inheritance diagram for clang::ento::retaincountchecker::RefCountBug:
[legend]

Public Member Functions

 RefCountBug (const CheckerFrontend *CF, StringRef Desc, StringRef ReportMsg, bool SuppressOnSink=false)
StringRef getReportMessage () const
Public Member Functions inherited from clang::ento::BugType
 BugType (CheckerNameRef CheckerName, StringRef Desc, StringRef Cat=categories::LogicError, bool SuppressOnSink=false)
 BugType (const CheckerFrontend *Checker, StringRef Desc, StringRef Cat=categories::LogicError, 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 27 of file RetainCountDiagnostics.h.

Constructor & Destructor Documentation

◆ RefCountBug()

clang::ento::retaincountchecker::RefCountBug::RefCountBug ( const CheckerFrontend * CF,
StringRef Desc,
StringRef ReportMsg,
bool SuppressOnSink = false )
inline

Definition at line 31 of file RetainCountDiagnostics.h.

References clang::ento::BugType::BugType(), and clang::ento::CF.

Member Function Documentation

◆ getReportMessage()

StringRef clang::ento::retaincountchecker::RefCountBug::getReportMessage ( ) const
inline

Definition at line 35 of file RetainCountDiagnostics.h.


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