LLVM API Documentation
#include <Format.h>


Public Member Functions | |
| format_object2 (const char *fmt, const T1 &val1, const T2 &val2) | |
| virtual int | snprint (char *Buffer, unsigned BufferSize) const |
| snprint - Call snprintf() for this object, on the given buffer and size. | |
format_object2 - 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_object2< T1, T2 >::format_object2 | ( | const char * | fmt, |
| const T1 & | val1, | ||
| const T2 & | val2 | ||
| ) | [inline] |
| virtual int llvm::format_object2< T1, T2 >::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 105 of file Format.h.
References llvm::format_object_base::Fmt, and llvm::LibFunc::snprintf.