clang 22.0.0git
|
A derivative of BoundTypeDiagnoser for which the diagnostic's type parameter is preceded by a 0/1 enum that is 1 if the type is sizeless. More...
#include "clang/Sema/Sema.h"
Public Member Functions | |
SizelessTypeDiagnoser (unsigned DiagID, const Ts &...Args) | |
void | diagnose (Sema &S, SourceLocation Loc, QualType T) override |
Public Member Functions inherited from clang::Sema::BoundTypeDiagnoser< Ts... > | |
BoundTypeDiagnoser (unsigned DiagID, const Ts &...Args) | |
Public Member Functions inherited from clang::Sema::TypeDiagnoser | |
TypeDiagnoser () | |
virtual | ~TypeDiagnoser () |
Additional Inherited Members | |
Protected Member Functions inherited from clang::Sema::BoundTypeDiagnoser< Ts... > | |
void | emit (const SemaDiagnosticBuilder &DB, std::index_sequence< Is... >) const |
Protected Attributes inherited from clang::Sema::BoundTypeDiagnoser< Ts... > | |
unsigned | DiagID |
std::tuple< const Ts &... > | Args |
A derivative of BoundTypeDiagnoser for which the diagnostic's type parameter is preceded by a 0/1 enum that is 1 if the type is sizeless.
For example, a diagnostic with no other parameters would generally have the form "...%select{incomplete|sizeless}0 type %1...".
|
inline |
Definition at line 8250 of file Sema.h.
References clang::Sema::BoundTypeDiagnoser< Ts... >::Args, clang::Sema::BoundTypeDiagnoser< Ts... >::BoundTypeDiagnoser(), and clang::Sema::BoundTypeDiagnoser< Ts... >::DiagID.
|
inlineoverridevirtual |
Reimplemented from clang::Sema::BoundTypeDiagnoser< Ts... >.
Definition at line 8253 of file Sema.h.
References clang::SemaBase::Diag(), clang::Sema::BoundTypeDiagnoser< Ts... >::emit(), clang::Sema::Sema(), and clang::T.