clang  14.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 12068 of file Sema.h.

Constructor & Destructor Documentation

◆ VerifyICEDiagnoser()

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

Definition at line 12072 of file Sema.h.

◆ ~VerifyICEDiagnoser()

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

Definition at line 12079 of file Sema.h.

Member Function Documentation

◆ diagnoseFold()

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

Definition at line 16363 of file SemaExpr.cpp.

◆ 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 16357 of file SemaExpr.cpp.

Member Data Documentation

◆ Suppress

bool clang::Sema::VerifyICEDiagnoser::Suppress

Definition at line 12070 of file Sema.h.

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

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