clang 20.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.
Referenced by clang::StreamingDiagnostic::AddString(), clang::StreamingDiagnostic::AddTaggedVal(), clang::PartialDiagnostic::Emit(), clang::Diagnostic::getArgKind(), and clang::PartialDiagnostic::getStringArg().
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.
Referenced by clang::StreamingDiagnostic::AddString(), clang::PartialDiagnostic::Emit(), clang::Diagnostic::getArgStdStr(), and clang::PartialDiagnostic::getStringArg().
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.
Referenced by clang::StreamingDiagnostic::AddTaggedVal(), clang::PartialDiagnostic::Emit(), clang::Diagnostic::getArgCStr(), clang::Diagnostic::getArgIdentifier(), clang::Diagnostic::getArgSInt(), clang::Diagnostic::getArgUInt(), and clang::Diagnostic::getRawArg().
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::StreamingDiagnostic::AddSourceRange(), clang::PartialDiagnostic::Emit(), clang::Diagnostic::getNumRanges(), clang::Diagnostic::getRange(), clang::Diagnostic::getRanges(), and 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::StreamingDiagnostic::AddFixItHint(), clang::PartialDiagnostic::Emit(), clang::Diagnostic::getFixItHint(), clang::Diagnostic::getFixItHints(), clang::Diagnostic::getNumFixItHints(), and clang::DiagnosticsEngine::Report().
unsigned char clang::DiagnosticStorage::NumDiagArgs = 0 |
The number of entries in Arguments.
Definition at line 163 of file Diagnostic.h.
Referenced by clang::StreamingDiagnostic::AddString(), clang::StreamingDiagnostic::AddTaggedVal(), clang::PartialDiagnostic::Emit(), and clang::Diagnostic::getNumArgs().