Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Error.h
Go to the documentation of this file.
1#ifndef PROTEUS_ERROR_H
2#define PROTEUS_ERROR_H
3
4#define PROTEUS_FATAL_ERROR(x) \
5 report_fatal_error(llvm::Twine(std::string{} + __FILE__ + ":" + \
6 std::to_string(__LINE__) + " => " + x))
7
8#endif