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

Go to the source code of this file.

Namespaces

namespace  llzk
 

Typedefs

using llzk::EmitErrorFn = llvm::function_ref<mlir::InFlightDiagnostic()>
 
using llzk::OwningEmitErrorFn = std::function<mlir::InFlightDiagnostic()>
 

Functions

OwningEmitErrorFn llzk::getEmitOpErrFn (mlir::Operation *op)
 
template<typename TypeClass>
OwningEmitErrorFn llzk::getEmitOpErrFn (TypeClass *opImpl)
 
void llzk::ensure (bool condition, llvm::Twine errMsg)