Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Main Page
Namespaces
Classes
Files
File List
File Members
Loading...
Searching...
No Matches
include
proteus
Error.h
Go to the documentation of this file.
1
#ifndef PROTEUS_ERROR_H
2
#define PROTEUS_ERROR_H
3
4
#include <cstdint>
5
#include <llvm/ADT/Twine.h>
6
7
#define PROTEUS_FATAL_ERROR(x) \
8
report_fatal_error(llvm::Twine(std::string{} + __FILE__ + ":" + \
9
std::to_string(__LINE__) + " => " + x))
10
11
#endif
Generated by
1.9.8