clang 22.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 | getDebugTag () const override |
The description of this program point which will be dumped for debugging purposes. | |
Public Member Functions inherited from clang::ProgramPointTag | |
ProgramPointTag (void *tagKind=nullptr) | |
virtual | ~ProgramPointTag () |
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' constructor 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 761 of file BugReporter.h.
|
inlineprotected |
Definition at line 781 of file BugReporter.h.
References clang::ProgramPointTag::ProgramPointTag().
|
inlineoverridevirtual |
The description of this program point which will be dumped for debugging purposes.
Do not use in user-facing output!
Implements clang::ProgramPointTag.
Reimplemented in clang::ento::NoteTag.
Definition at line 763 of file BugReporter.h.