|
clang 22.0.0git
|
Trivial convenience class for the common case when a certain checker frontend always uses the same bug type. More...
#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
Public Member Functions | |
| CheckerFrontendWithBugType (StringRef Desc, StringRef Cat=categories::LogicError, bool SuppressOnSink=false) | |
| Public Member Functions inherited from clang::ento::CheckerFrontend | |
| void | enable (CheckerManager &Mgr) |
| bool | isEnabled () const |
| CheckerNameRef | getName () 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. | |
Trivial convenience class for the common case when a certain checker frontend always uses the same bug type.
This way instead of writing
we can use CheckerFrontendWithBugType LongCheckerFrontendName{"..."}.
|
inline |
Definition at line 82 of file BugType.h.
References clang::ento::BugType::BugType(), and clang::ento::categories::LogicError.