LLVM  3.7.0
Classes | Namespaces | Functions
Format.h File Reference
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataTypes.h"
#include <cassert>
#include <cstdio>
#include <tuple>
Include dependency graph for Format.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::format_object_base
 This is a helper class used for handling formatted output. More...
 
class  llvm::format_object< Ts >
 These are templated helper classes used by the format function that capture the object to be formated and the format string. More...
 
class  llvm::FormattedString
 This is a helper class used for left_justify() and right_justify(). More...
 
class  llvm::FormattedNumber
 This is a helper class used for format_hex() and format_decimal(). More...
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Functions

template<typename... Ts>
format_object< Ts...> llvm::format (const char *Fmt, const Ts &...Vals)
 These are helper functions used to produce formatted output. More...
 
FormattedString llvm::left_justify (StringRef Str, unsigned Width)
 left_justify - append spaces after string so total output is Width characters. More...
 
FormattedString llvm::right_justify (StringRef Str, unsigned Width)
 right_justify - add spaces before string so total output is Width characters. More...
 
FormattedNumber llvm::format_hex (uint64_t N, unsigned Width, bool Upper=false)
 format_hex - Output N as a fixed width hexadecimal. More...
 
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. More...
 
FormattedNumber llvm::format_decimal (int64_t N, unsigned Width)
 format_decimal - Output N as a right justified, fixed-width decimal. More...