Files
gps/tools/local/circt/include/llvm/DWP/DWPError.h
T
2026-07-12 11:01:51 +03:00

25 lines
581 B
C++

#ifndef LLVM_DWP_DWPERROR_H
#define LLVM_DWP_DWPERROR_H
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
#include <string>
namespace llvm {
class DWPError : public ErrorInfo<DWPError> {
public:
DWPError(std::string Info) : Info(std::move(Info)) {}
void log(raw_ostream &OS) const override { OS << Info; }
std::error_code convertToErrorCode() const override {
llvm_unreachable("Not implemented");
}
LLVM_ABI static char ID;
private:
std::string Info;
};
} // namespace llvm
#endif // LLVM_DWP_DWPERROR_H