clang 20.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) | |
void | diagnose (Sema &S, SourceLocation Loc, QualType T) override |
Public Member Functions inherited from clang::Sema::TypeDiagnoser | |
TypeDiagnoser () | |
virtual void | diagnose (Sema &S, SourceLocation Loc, QualType T)=0 |
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 |
|
inlineoverridevirtual |
Implements clang::Sema::TypeDiagnoser.
Definition at line 7930 of file Sema.h.
References emit(), clang::Type::isSizelessType(), Loc, and clang::T.