clang 20.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
clang::Sema::BoundTypeDiagnoser< Ts > Class Template Reference

#include "clang/Sema/Sema.h"

Inheritance diagram for clang::Sema::BoundTypeDiagnoser< Ts >:
Inheritance graph
[legend]

Public Member Functions

 BoundTypeDiagnoser (unsigned DiagID, const Ts &...Args)
 
void diagnose (Sema &S, SourceLocation Loc, QualType T) override
 
- Public Member Functions inherited from clang::Sema::TypeDiagnoser
 TypeDiagnoser ()
 
virtual void diagnose (Sema &S, SourceLocation Loc, QualType T)=0
 
virtual ~TypeDiagnoser ()
 

Protected Member Functions

template<std::size_t... Is>
void emit (const SemaDiagnosticBuilder &DB, std::index_sequence< Is... >) const
 

Protected Attributes

unsigned DiagID
 
std::tuple< const Ts &... > Args
 

Detailed Description

template<typename... Ts>
class clang::Sema::BoundTypeDiagnoser< Ts >

Definition at line 7894 of file Sema.h.

Constructor & Destructor Documentation

◆ BoundTypeDiagnoser()

template<typename... Ts>
clang::Sema::BoundTypeDiagnoser< Ts >::BoundTypeDiagnoser ( unsigned  DiagID,
const Ts &...  Args 
)
inline

Definition at line 7908 of file Sema.h.

Member Function Documentation

◆ diagnose()

template<typename... Ts>
void clang::Sema::BoundTypeDiagnoser< Ts >::diagnose ( Sema S,
SourceLocation  Loc,
QualType  T 
)
inlineoverridevirtual

Implements clang::Sema::TypeDiagnoser.

Definition at line 7913 of file Sema.h.

References emit(), Loc, and clang::T.

◆ emit()

template<typename... Ts>
template<std::size_t... Is>
void clang::Sema::BoundTypeDiagnoser< Ts >::emit ( const SemaDiagnosticBuilder DB,
std::index_sequence< Is... >   
) const
inlineprotected

Definition at line 7900 of file Sema.h.

Member Data Documentation

◆ Args

template<typename... Ts>
std::tuple<const Ts &...> clang::Sema::BoundTypeDiagnoser< Ts >::Args
protected

Definition at line 7897 of file Sema.h.

◆ DiagID

template<typename... Ts>
unsigned clang::Sema::BoundTypeDiagnoser< Ts >::DiagID
protected

Definition at line 7896 of file Sema.h.


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