LLVM 20.0.0git
Static Public Member Functions | List of all members
llvm::format_provider< T, std::enable_if_t< support::detail::use_char_formatter< T >::value > > Struct Template Reference

Implementation of format_provider<T> for characters. More...

#include "llvm/Support/FormatProviders.h"

Static Public Member Functions

static void format (const char &V, llvm::raw_ostream &Stream, StringRef Style)
 

Detailed Description

template<typename T>
struct llvm::format_provider< T, std::enable_if_t< support::detail::use_char_formatter< T >::value > >

Implementation of format_provider<T> for characters.

The options string of a character type has the grammar:

char_options :: (empty) | [integer_options]

If char_options is empty, the character is displayed as an ASCII character. Otherwise, it is treated as an integer options string.

Definition at line 236 of file FormatProviders.h.

Member Function Documentation

◆ format()

template<typename T >
static void llvm::format_provider< T, std::enable_if_t< support::detail::use_char_formatter< T >::value > >::format ( const char V,
llvm::raw_ostream Stream,
StringRef  Style 
)
inlinestatic

Definition at line 238 of file FormatProviders.h.

References X.


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