LLVM 20.0.0git
|
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 25 of file FDRLogBuilder.h.
|
inline |
Definition at line 29 of file FDRLogBuilder.h.
References A.
|
inline |
Definition at line 34 of file FDRLogBuilder.h.