class BugType

Declaration

class BugType { /* full declaration omitted */ };

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:27

Member Variables

private const clang::ento::CheckerNameRef CheckerName
private const std::string Description
private const std::string Category
private const clang::ento::CheckerBase* Checker
private bool SuppressOnSink

Method Overview

  • public BugType(clang::ento::CheckerNameRef CheckerName, llvm::StringRef Name, llvm::StringRef Cat, bool SuppressOnSink = false)
  • public BugType(const clang::ento::CheckerBase * Checker, llvm::StringRef Name, llvm::StringRef Cat, bool SuppressOnSink = false)
  • private virtual void anchor()
  • public llvm::StringRef getCategory() const
  • public llvm::StringRef getCheckerName() const
  • public llvm::StringRef getDescription() const
  • public bool isSuppressOnSink() const
  • public virtual ~BugType()

Methods

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

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:38

Parameters

clang::ento::CheckerNameRef CheckerName
llvm::StringRef Name
llvm::StringRef Cat
bool SuppressOnSink = false

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

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:42

Parameters

const clang::ento::CheckerBase* Checker
llvm::StringRef Name
llvm::StringRef Cat
bool SuppressOnSink = false

virtual void anchor()

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:35

llvm::StringRef getCategory() const

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:49

llvm::StringRef getCheckerName() const

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:50

llvm::StringRef getDescription() const

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:48

bool isSuppressOnSink() const

Description

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.

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:64

virtual ~BugType()

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:46