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. More... | |
![]() | |
format_object_base (const char *fmt) | |
virtual | ~format_object_base () |
unsigned | print (char *Buffer, unsigned BufferSize) const |
Additional Inherited Members | |
![]() | |
virtual void | home () |
![]() | |
const char * | Fmt |
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.
|
inline |
|
inlinevirtual |
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.