class NoteTag
Declaration
class NoteTag : public DataTag { /* full declaration omitted */ };
Description
The tag upon which the TagVisitor reacts. Add these in order to display additional PathDiagnosticEventPieces along the path.
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:763
Inherits from: DataTag
Member Variables
- private const clang::ento::NoteTag::Callback Cb
- private const bool IsPrunable
- private static int Kind
Method Overview
- private NoteTag(clang::ento::NoteTag::Callback && Cb, bool IsPrunable)
- public static bool classof(const clang::ProgramPointTag * T)
- public Optional<std::string> generateMessage(clang::ento::BugReporterContext & BRC, clang::ento::PathSensitiveBugReport & R) const
- public llvm::StringRef getTagDescription() const
- public bool isPrunable() const
Inherited from DataTag:
Inherited from ProgramPointTag:
Methods
¶NoteTag(clang::ento::NoteTag::Callback&& Cb,
bool IsPrunable)
NoteTag(clang::ento::NoteTag::Callback&& Cb,
bool IsPrunable)
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:774
Parameters
- clang::ento::NoteTag::Callback&& Cb
- bool IsPrunable
¶static bool classof(
const clang::ProgramPointTag* T)
static bool classof(
const clang::ProgramPointTag* T)
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:778
Parameters
- const clang::ProgramPointTag* T
¶Optional<std::string> generateMessage(
clang::ento::BugReporterContext& BRC,
clang::ento::PathSensitiveBugReport& R) const
Optional<std::string> generateMessage(
clang::ento::BugReporterContext& BRC,
clang::ento::PathSensitiveBugReport& R) const
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:782
Parameters
¶llvm::StringRef getTagDescription() const
llvm::StringRef getTagDescription() const
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:791
¶bool isPrunable() const
bool isPrunable() const
Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:798