LLVM  8.0.1
Static Public Member Functions | List of all members
llvm::format_provider< bool > Struct Template Reference

Implementation of format_provider<T> for type bool More...

#include "llvm/Support/FormatProviders.h"

Static Public Member Functions

static void format (const bool &B, llvm::raw_ostream &Stream, StringRef Style)
 

Detailed Description

template<>
struct llvm::format_provider< bool >

Implementation of format_provider<T> for type bool

The options string of a boolean type has the grammar:

bool_options :: "" | "Y" | "y" | "D" | "d" | "T" | "t"


| C | Meaning |

| Y | YES / NO | | y | yes / no | | D / d | Integer 0 or 1 | | T | TRUE / FALSE | | t | true / false |

| (empty) | Equivalent to 't' |

Definition at line 263 of file FormatProviders.h.

Member Function Documentation

◆ format()

static void llvm::format_provider< bool >::format ( const bool B,
llvm::raw_ostream Stream,
StringRef  Style 
)
inlinestatic

Definition at line 264 of file FormatProviders.h.


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