LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
StreamHelper.h File Reference
#include <llvm/Support/raw_ostream.h>
Include dependency graph for StreamHelper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llzk::filtered_raw_ostream
 Wrapper for llvm::raw_ostream that filters out certain characters selected by a function. More...
 

Namespaces

namespace  llzk
 

Functions

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.