#include <llvm/Support/raw_ostream.h>
Go to the source code of this file.
|
template<typename Func, typename... Args> |
std::string | llzk::buildStringViaCallback (Func &&appendFn, Args &&...args) |
| Generate a string by calling the given appendFn with an llvm::raw_ostream & as the first argument followed by the additional Args provided (if any).
|
|
template<typename T> |
std::string | llzk::buildStringViaPrint (const T &base) |
| Generate a string by calling base.print(llvm::raw_ostream &) on a stream backed by the returned string.
|
|
template<typename... Args> |
std::string | llzk::buildStringViaInsertionOp (Args &&...args) |
| Generate a string by using the insertion operator (<<) to append all args to a stream backed by the returned string.
|
|