class DataTag

Declaration

class DataTag : public ProgramPointTag { /* full declaration omitted */ };

Description

The tag that carries some information with it. It can be valuable to produce tags with some bits of information and later reuse them for a better diagnostic. Please make sure that derived class' constuctor is private and that the user can only create objects using DataTag::Factory. This also means that DataTag::Factory should be friend for every derived class.

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:738

Inherits from: ProgramPointTag

Member Variables

Method Overview

Inherited from ProgramPointTag:

Methods

DataTag(void* TagKind)

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:758

Parameters

void* TagKind

llvm::StringRef getTagDescription() const

Declared at: clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:740