clang 19.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

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

Constructor & Destructor Documentation

◆ BoundTypeDiagnoser()

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

Definition at line 6317 of file Sema.h.

Member Function Documentation

◆ diagnose()

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

Implements clang::Sema::TypeDiagnoser.

Definition at line 6322 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

Definition at line 6309 of file Sema.h.

Member Data Documentation

◆ Args

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

Definition at line 6306 of file Sema.h.

◆ DiagID

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

Definition at line 6305 of file Sema.h.

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