clang 22.0.0git
|
#include "clang/Basic/Diagnostic.h"
Public Types | |
enum | { MaxArguments = 10 } |
Public Member Functions | |
DiagnosticStorage ()=default |
Public Attributes | |
unsigned char | NumDiagArgs = 0 |
The number of entries in Arguments. | |
unsigned char | DiagArgumentsKind [MaxArguments] |
Specifies for each argument whether it is in DiagArgumentsStr or in DiagArguments. | |
uint64_t | DiagArgumentsVal [MaxArguments] |
The values for the various substitution positions. | |
std::string | DiagArgumentsStr [MaxArguments] |
The values for the various substitution positions that have string arguments. | |
SmallVector< CharSourceRange, 8 > | DiagRanges |
The list of ranges added to this diagnostic. | |
SmallVector< FixItHint, 6 > | FixItHints |
If valid, provides a hint with some code to insert, remove, or modify at a particular position. |
Definition at line 152 of file Diagnostic.h.
anonymous enum |
Definition at line 153 of file Diagnostic.h.
|
default |
unsigned char clang::DiagnosticStorage::DiagArgumentsKind[MaxArguments] |
Specifies for each argument whether it is in DiagArgumentsStr or in DiagArguments.
Definition at line 167 of file Diagnostic.h.
std::string clang::DiagnosticStorage::DiagArgumentsStr[MaxArguments] |
The values for the various substitution positions that have string arguments.
Definition at line 178 of file Diagnostic.h.
uint64_t clang::DiagnosticStorage::DiagArgumentsVal[MaxArguments] |
The values for the various substitution positions.
This is used when the argument is not an std::string. The specific value is mangled into an uint64_t and the interpretation depends on exactly what sort of argument kind it is.
Definition at line 174 of file Diagnostic.h.
SmallVector<CharSourceRange, 8> clang::DiagnosticStorage::DiagRanges |
The list of ranges added to this diagnostic.
Definition at line 181 of file Diagnostic.h.
Referenced by clang::DiagnosticsEngine::Report().
SmallVector<FixItHint, 6> clang::DiagnosticStorage::FixItHints |
If valid, provides a hint with some code to insert, remove, or modify at a particular position.
Definition at line 185 of file Diagnostic.h.
Referenced by clang::DiagnosticsEngine::Report().
unsigned char clang::DiagnosticStorage::NumDiagArgs = 0 |
The number of entries in Arguments.
Definition at line 163 of file Diagnostic.h.