struct DiagnosticStorage

Declaration

struct DiagnosticStorage { /* full declaration omitted */ };

Declared at: clang/include/clang/Basic/Diagnostic.h:148

Member Variables

public unsigned char NumDiagArgs = 0
The number of entries in Arguments.
public unsigned char[10] DiagArgumentsKind
Specifies for each argument whether it is in DiagArgumentsStr or in DiagArguments.
public uint64_t[10] DiagArgumentsVal
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.
public std::string[10] DiagArgumentsStr
The values for the various substitution positions that have string arguments.
public SmallVector<clang::CharSourceRange, 8> DiagRanges
The list of ranges added to this diagnostic.
public SmallVector<clang::FixItHint, 6> FixItHints
If valid, provides a hint with some code to insert, remove, or modify at a particular position.

Method Overview

Methods

ΒΆDiagnosticStorage()

Declared at: clang/include/clang/Basic/Diagnostic.h:183