LLVM
8.0.1
|
The LogBuilder class allows for creating ad-hoc collections of records through the add<...>(...)
function.
More...
#include "llvm/XRay/FDRLogBuilder.h"
Public Member Functions | |
template<class R , class... T> | |
LogBuilder & | add (T &&... A) |
std::vector< std::unique_ptr< Record > > | consume () |
The LogBuilder class allows for creating ad-hoc collections of records through the add<...>(...)
function.
An example use of this API is in crafting arbitrary sequences of records:
auto Records = LogBuilder() .add<BufferExtents>(256) .add<NewBufferRecord>(1) .consume();
Definition at line 26 of file FDRLogBuilder.h.
|
inline |
Definition at line 30 of file FDRLogBuilder.h.
|
inline |
Definition at line 35 of file FDRLogBuilder.h.