LLVM 22.0.0git
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"

Inheritance diagram for llvm::format_provider< T, std::enable_if_t< support::detail::use_char_formatter< T >::value > >:
[legend]

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 227 of file FormatProviders.h.

Member Function Documentation

◆ format()

template<typename T>
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 229 of file FormatProviders.h.

References X.


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