clang 20.0.0git
|
The tag that carries some information with it. More...
#include "clang/StaticAnalyzer/Core/BugReporter/BugReporter.h"
Classes | |
class | Factory |
Public Member Functions | |
StringRef | getTagDescription () const override |
Public Member Functions inherited from clang::ProgramPointTag | |
ProgramPointTag (void *tagKind=nullptr) | |
virtual | ~ProgramPointTag () |
virtual StringRef | getTagDescription () const =0 |
const void * | getTagKind () const |
Used to implement 'isKind' in subclasses. | |
Protected Member Functions | |
DataTag (void *TagKind) | |
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.
Definition at line 754 of file BugReporter.h.
|
inlineprotected |
Definition at line 774 of file BugReporter.h.
|
inlineoverridevirtual |
Implements clang::ProgramPointTag.
Reimplemented in clang::ento::NoteTag.
Definition at line 756 of file BugReporter.h.