LLVM 23.0.0git
llvm::support::detail::FormatFunctor< T > Class Template Reference

#include "llvm/Support/FormatVariadicDetails.h"

Public Member Functions

 FormatFunctor (T &&Item)
void operator() (llvm::raw_ostream &S, StringRef Options)

Static Public Attributes

static constexpr bool HasMemberProvider
static constexpr bool HasFormatProvider
static constexpr bool HasStreamProvider

Detailed Description

template<typename T>
class llvm::support::detail::FormatFunctor< T >

Definition at line 29 of file FormatVariadicDetails.h.

Constructor & Destructor Documentation

◆ FormatFunctor()

template<typename T>
llvm::support::detail::FormatFunctor< T >::FormatFunctor ( T && Item)
inlineexplicit

Definition at line 64 of file FormatVariadicDetails.h.

References T.

Member Function Documentation

◆ operator()()

template<typename T>
void llvm::support::detail::FormatFunctor< T >::operator() ( llvm::raw_ostream & S,
StringRef Options )
inline

Member Data Documentation

◆ HasFormatProvider

template<typename T>
bool llvm::support::detail::FormatFunctor< T >::HasFormatProvider
staticconstexpr
Initial value:
=
llvm::is_detected<StaticFormatCheck,
typename detail::detector< void, Op, Args... >::value_t is_detected
Detects if a given trait holds for some set of arguments 'Args'.

Definition at line 55 of file FormatVariadicDetails.h.

Referenced by operator()().

◆ HasMemberProvider

template<typename T>
bool llvm::support::detail::FormatFunctor< T >::HasMemberProvider
staticconstexpr
Initial value:

Definition at line 53 of file FormatVariadicDetails.h.

Referenced by operator()().

◆ HasStreamProvider

template<typename T>
bool llvm::support::detail::FormatFunctor< T >::HasStreamProvider
staticconstexpr
Initial value:

Definition at line 58 of file FormatVariadicDetails.h.

Referenced by operator()().


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