clang  14.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]
Collaboration diagram for clang::Sema::BoundTypeDiagnoser< Ts >:
Collaboration 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 ~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 2107 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 2121 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 2126 of file Sema.h.

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

Member Data Documentation

◆ Args

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

Definition at line 2110 of file Sema.h.

Referenced by clang::Sema::BoundTypeDiagnoser< Ts... >::emit().

◆ DiagID

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

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