LLVM  6.0.0svn
Static Public Member Functions | List of all members
llvm::format_provider< T, typename std::enable_if< detail::use_char_formatter< T >::value >::type > 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, typename std::enable_if< detail::use_char_formatter< T >::value >::type >

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

Member Function Documentation

◆ format()

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

Definition at line 236 of file FormatProviders.h.

References llvm::StringRef::empty(), llvm::format(), and X.


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