|
| template<typename... Ts> |
| format_object< Ts... > | llvm::format (const char *Fmt, const Ts &... Vals) |
| | These are helper functions used to produce formatted output.
|
| FormattedString | llvm::left_justify (StringRef Str, unsigned Width) |
| | left_justify - append spaces after string so total output is Width characters.
|
| FormattedString | llvm::right_justify (StringRef Str, unsigned Width) |
| | right_justify - add spaces before string so total output is Width characters.
|
| FormattedString | llvm::center_justify (StringRef Str, unsigned Width) |
| | center_justify - add spaces before and after string so total output is Width characters.
|
| FormattedNumber | llvm::format_hex (uint64_t N, unsigned Width, bool Upper=false) |
| | format_hex - Output N as a fixed width hexadecimal.
|
| FormattedNumber | llvm::format_hex_no_prefix (uint64_t N, unsigned Width, bool Upper=false) |
| | format_hex_no_prefix - Output N as a fixed width hexadecimal.
|
| FormattedNumber | llvm::format_decimal (int64_t N, unsigned Width) |
| | format_decimal - Output N as a right justified, fixed-width decimal.
|
| FormattedBytes | llvm::format_bytes (ArrayRef< uint8_t > Bytes, std::optional< uint64_t > FirstByteOffset=std::nullopt, uint32_t NumPerLine=16, uint8_t ByteGroupSize=4, uint32_t IndentLevel=0, bool Upper=false) |
| FormattedBytes | llvm::format_bytes_with_ascii (ArrayRef< uint8_t > Bytes, std::optional< uint64_t > FirstByteOffset=std::nullopt, uint32_t NumPerLine=16, uint8_t ByteGroupSize=4, uint32_t IndentLevel=0, bool Upper=false) |