003 File Manager
Current Path:
/usr/src/contrib/llvm-project/llvm/tools/llvm-dwp
usr
/
src
/
contrib
/
llvm-project
/
llvm
/
tools
/
llvm-dwp
/
📁
..
📄
DWPError.cpp
(63 B)
📄
DWPError.h
(504 B)
📄
DWPStringPool.h
(1.55 KB)
📄
llvm-dwp.cpp
(27.75 KB)
Editing: DWPError.h
#ifndef TOOLS_LLVM_DWP_DWPERROR #define TOOLS_LLVM_DWP_DWPERROR #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"); } static char ID; private: std::string Info; }; } #endif
Upload File
Create Folder