LLVM API Documentation
#include <Format.h>


Public Member Functions | |
| format_object1 (const char *fmt, const T &val) | |
| virtual int | snprint (char *Buffer, unsigned BufferSize) const |
| snprint - Call snprintf() for this object, on the given buffer and size. | |
format_object1 - This is a templated helper class used by the format function that captures the object to be formated and the format string. When actually printed, this synthesizes the string into a temporary buffer provided and returns whether or not it is big enough.
| llvm::format_object1< T >::format_object1 | ( | const char * | fmt, |
| const T & | val | ||
| ) | [inline] |
| virtual int llvm::format_object1< T >::snprint | ( | char * | Buffer, |
| unsigned | BufferSize | ||
| ) | const [inline, virtual] |
snprint - Call snprintf() for this object, on the given buffer and size.
Implements llvm::format_object_base.
Definition at line 87 of file Format.h.
References llvm::format_object_base::Fmt, and llvm::LibFunc::snprintf.