clang
10.0.0git
|
#include "clang/Basic/PartialDiagnostic.h"
Public Types | |
enum | { MaxArguments = PartialDiagnostic::MaxArguments } |
Public Member Functions | |
Storage ()=default | |
Public Attributes | |
unsigned char | NumDiagArgs = 0 |
The number of entries in Arguments. More... | |
unsigned char | DiagArgumentsKind [MaxArguments] |
Specifies for each argument whether it is in DiagArgumentsStr or in DiagArguments. More... | |
intptr_t | DiagArgumentsVal [MaxArguments] |
The values for the various substitution positions. More... | |
std::string | DiagArgumentsStr [MaxArguments] |
The values for the various substitution positions that have string arguments. More... | |
SmallVector< CharSourceRange, 8 > | DiagRanges |
The list of ranges added to this diagnostic. More... | |
SmallVector< FixItHint, 6 > | FixItHints |
If valid, provides a hint with some code to insert, remove, or modify at a particular position. More... | |
Definition at line 44 of file PartialDiagnostic.h.
anonymous enum |
Definition at line 45 of file PartialDiagnostic.h.
|
default |
Referenced by clang::PartialDiagnostic::StorageAllocator::Allocate().
unsigned char clang::PartialDiagnostic::Storage::DiagArgumentsKind[MaxArguments] |
Specifies for each argument whether it is in DiagArgumentsStr or in DiagArguments.
Definition at line 59 of file PartialDiagnostic.h.
Referenced by clang::PartialDiagnostic::AddString(), clang::PartialDiagnostic::AddTaggedVal(), clang::PartialDiagnostic::Emit(), and clang::PartialDiagnostic::getStringArg().
std::string clang::PartialDiagnostic::Storage::DiagArgumentsStr[MaxArguments] |
The values for the various substitution positions that have string arguments.
Definition at line 70 of file PartialDiagnostic.h.
Referenced by clang::PartialDiagnostic::AddString(), clang::PartialDiagnostic::Emit(), and clang::PartialDiagnostic::getStringArg().
intptr_t clang::PartialDiagnostic::Storage::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 intptr_t and the interpretation depends on exactly what sort of argument kind it is.
Definition at line 66 of file PartialDiagnostic.h.
Referenced by clang::PartialDiagnostic::AddTaggedVal(), and clang::PartialDiagnostic::Emit().
SmallVector<CharSourceRange, 8> clang::PartialDiagnostic::Storage::DiagRanges |
The list of ranges added to this diagnostic.
Definition at line 73 of file PartialDiagnostic.h.
Referenced by clang::PartialDiagnostic::StorageAllocator::Allocate(), and clang::PartialDiagnostic::Emit().
SmallVector<FixItHint, 6> clang::PartialDiagnostic::Storage::FixItHints |
If valid, provides a hint with some code to insert, remove, or modify at a particular position.
Definition at line 77 of file PartialDiagnostic.h.
Referenced by clang::PartialDiagnostic::StorageAllocator::Allocate(), and clang::PartialDiagnostic::Emit().
unsigned char clang::PartialDiagnostic::Storage::NumDiagArgs = 0 |
The number of entries in Arguments.
Definition at line 55 of file PartialDiagnostic.h.
Referenced by clang::PartialDiagnostic::AddString(), clang::PartialDiagnostic::AddTaggedVal(), clang::PartialDiagnostic::StorageAllocator::Allocate(), clang::PartialDiagnostic::Emit(), and clang::PartialDiagnostic::getStringArg().