clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::Sema::VerifyICEDiagnoser Class Referenceabstract

Abstract base class used for diagnosing integer constant expression violations. More...

#include "clang/Sema/Sema.h"

Public Member Functions

 VerifyICEDiagnoser (bool Suppress=false)
 
virtual SemaDiagnosticBuilder diagnoseNotICEType (Sema &S, SourceLocation Loc, QualType T)
 
virtual SemaDiagnosticBuilder diagnoseNotICE (Sema &S, SourceLocation Loc)=0
 
virtual SemaDiagnosticBuilder diagnoseFold (Sema &S, SourceLocation Loc)
 
virtual ~VerifyICEDiagnoser ()
 

Public Attributes

bool Suppress
 

Detailed Description

Abstract base class used for diagnosing integer constant expression violations.

Definition at line 7249 of file Sema.h.

Constructor & Destructor Documentation

◆ VerifyICEDiagnoser()

clang::Sema::VerifyICEDiagnoser::VerifyICEDiagnoser ( bool  Suppress = false)
inline

Definition at line 7253 of file Sema.h.

◆ ~VerifyICEDiagnoser()

virtual clang::Sema::VerifyICEDiagnoser::~VerifyICEDiagnoser ( )
inlinevirtual

Definition at line 7260 of file Sema.h.

Member Function Documentation

◆ diagnoseFold()

Sema::SemaDiagnosticBuilder Sema::VerifyICEDiagnoser::diagnoseFold ( Sema S,
SourceLocation  Loc 
)
virtual

◆ diagnoseNotICE()

virtual SemaDiagnosticBuilder clang::Sema::VerifyICEDiagnoser::diagnoseNotICE ( Sema S,
SourceLocation  Loc 
)
pure virtual

◆ diagnoseNotICEType()

Sema::SemaDiagnosticBuilder Sema::VerifyICEDiagnoser::diagnoseNotICEType ( Sema S,
SourceLocation  Loc,
QualType  T 
)
virtual

Definition at line 16929 of file SemaExpr.cpp.

References diagnoseNotICE(), and Loc.

Referenced by clang::Sema::VerifyIntegerConstantExpression().

Member Data Documentation

◆ Suppress

bool clang::Sema::VerifyICEDiagnoser::Suppress

Definition at line 7251 of file Sema.h.

Referenced by clang::Sema::VerifyIntegerConstantExpression().


The documentation for this class was generated from the following files: