class Sema::ICEConvertDiagnoser
Declaration
class Sema::ICEConvertDiagnoser : public ContextualImplicitConverter { /* full declaration omitted */ };
Description
Abstract base class used to perform a contextual implicit conversion from an expression to any type passing a filter.
Declared at: clang/include/clang/Sema/Sema.h:3786
Inherits from: Sema::ContextualImplicitConverter
Member Variables
- private bool AllowScopedEnumerations
Inherited from Sema::ContextualImplicitConverter:
Method Overview
- public ICEConvertDiagnoser(bool AllowScopedEnumerations, bool Suppress, bool SuppressConversion)
- public clang::Sema::SemaDiagnosticBuilder diagnoseNoMatch(clang::Sema & S, clang::SourceLocation Loc, clang::QualType T)
- public virtual clang::Sema::SemaDiagnosticBuilder diagnoseNotInt(clang::Sema & S, clang::SourceLocation Loc, clang::QualType T)
- public bool match(clang::QualType T)
Inherited from Sema::ContextualImplicitConverter:
- public diagnoseAmbiguous
- public diagnoseConversion
- public diagnoseExplicitConv
- public diagnoseIncomplete
- public diagnoseNoMatch
- public match
- public noteAmbiguous
- public noteExplicitConv
Methods
¶ICEConvertDiagnoser(bool AllowScopedEnumerations,
bool Suppress,
bool SuppressConversion)
ICEConvertDiagnoser(bool AllowScopedEnumerations,
bool Suppress,
bool SuppressConversion)
Declared at: clang/include/clang/Sema/Sema.h:3790
Parameters
- bool AllowScopedEnumerations
- bool Suppress
- bool SuppressConversion
¶clang::Sema::SemaDiagnosticBuilder
diagnoseNoMatch(clang::Sema& S,
clang::SourceLocation Loc,
clang::QualType T)
clang::Sema::SemaDiagnosticBuilder
diagnoseNoMatch(clang::Sema& S,
clang::SourceLocation Loc,
clang::QualType T)
Description
Emits a diagnostic complaining that the expression does not have integral or enumeration type.
Declared at: clang/include/clang/Sema/Sema.h:3799
Parameters
¶virtual clang::Sema::SemaDiagnosticBuilder
diagnoseNotInt(clang::Sema& S,
clang::SourceLocation Loc,
clang::QualType T)
virtual clang::Sema::SemaDiagnosticBuilder
diagnoseNotInt(clang::Sema& S,
clang::SourceLocation Loc,
clang::QualType T)
Description
Emits a diagnostic complaining that the expression does not have integral or enumeration type.
Declared at: clang/include/clang/Sema/Sema.h:3806
Parameters
¶bool match(clang::QualType T)
bool match(clang::QualType T)
Description
Match an integral or (possibly scoped) enumeration type.
Declared at: clang/include/clang/Sema/Sema.h:3796