clang 17.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"

Collaboration diagram for clang::Sema::VerifyICEDiagnoser:
Collaboration graph

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 12919 of file Sema.h.

Constructor & Destructor Documentation

◆ VerifyICEDiagnoser()

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

Definition at line 12923 of file Sema.h.

◆ ~VerifyICEDiagnoser()

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

Definition at line 12930 of file Sema.h.

Member Function Documentation

◆ diagnoseFold()

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

◆ 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 

Definition at line 17495 of file SemaExpr.cpp.

References diagnoseNotICE().

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

Member Data Documentation

◆ Suppress

bool clang::Sema::VerifyICEDiagnoser::Suppress

Definition at line 12921 of file Sema.h.

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

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