clang 20.0.0git
|
#include "clang/Sema/Sema.h"
Public Member Functions | |
ICEConvertDiagnoser (bool AllowScopedEnumerations, bool Suppress, bool SuppressConversion) | |
bool | match (QualType T) override |
Match an integral or (possibly scoped) enumeration type. | |
SemaDiagnosticBuilder | diagnoseNoMatch (Sema &S, SourceLocation Loc, QualType T) override |
Emits a diagnostic complaining that the expression does not have integral or enumeration type. | |
virtual SemaDiagnosticBuilder | diagnoseNotInt (Sema &S, SourceLocation Loc, QualType T)=0 |
Emits a diagnostic complaining that the expression does not have integral or enumeration type. | |
Public Member Functions inherited from clang::Sema::ContextualImplicitConverter | |
ContextualImplicitConverter (bool Suppress=false, bool SuppressConversion=false) | |
virtual bool | match (QualType T)=0 |
Determine whether the specified type is a valid destination type for this conversion. | |
virtual SemaDiagnosticBuilder | diagnoseNoMatch (Sema &S, SourceLocation Loc, QualType T)=0 |
Emits a diagnostic complaining that the expression does not have integral or enumeration type. | |
virtual SemaDiagnosticBuilder | diagnoseIncomplete (Sema &S, SourceLocation Loc, QualType T)=0 |
Emits a diagnostic when the expression has incomplete class type. | |
virtual SemaDiagnosticBuilder | diagnoseExplicitConv (Sema &S, SourceLocation Loc, QualType T, QualType ConvTy)=0 |
Emits a diagnostic when the only matching conversion function is explicit. | |
virtual SemaDiagnosticBuilder | noteExplicitConv (Sema &S, CXXConversionDecl *Conv, QualType ConvTy)=0 |
Emits a note for the explicit conversion function. | |
virtual SemaDiagnosticBuilder | diagnoseAmbiguous (Sema &S, SourceLocation Loc, QualType T)=0 |
Emits a diagnostic when there are multiple possible conversion functions. | |
virtual SemaDiagnosticBuilder | noteAmbiguous (Sema &S, CXXConversionDecl *Conv, QualType ConvTy)=0 |
Emits a note for one of the candidate conversions. | |
virtual SemaDiagnosticBuilder | diagnoseConversion (Sema &S, SourceLocation Loc, QualType T, QualType ConvTy)=0 |
Emits a diagnostic when we picked a conversion function (for cases when we are not allowed to pick a conversion function). | |
virtual | ~ContextualImplicitConverter () |
Additional Inherited Members | |
Public Attributes inherited from clang::Sema::ContextualImplicitConverter | |
bool | Suppress |
bool | SuppressConversion |
|
inlineoverridevirtual |
Emits a diagnostic complaining that the expression does not have integral or enumeration type.
Implements clang::Sema::ContextualImplicitConverter.
|
pure virtual |
Emits a diagnostic complaining that the expression does not have integral or enumeration type.
Match an integral or (possibly scoped) enumeration type.
Determine whether the provided type is an integral type, or an enumeration type of a permitted flavor.
Implements clang::Sema::ContextualImplicitConverter.
Definition at line 6498 of file SemaOverload.cpp.
References clang::Type::isIntegralOrEnumerationType(), clang::Type::isIntegralOrUnscopedEnumerationType(), and clang::T.