LLVM: include/llvm/DWP/DWPError.h Source File (original) (raw)

Go to the documentation of this file.

1#ifndef LLVM_DWP_DWPERROR_H

2#define LLVM_DWP_DWPERROR_H

3

7#include

8

9namespace llvm {

11public:

18

19private:

20 std::string Info;

21};

22}

23

24#endif

DWPError(std::string Info)

Definition DWPError.h:12

std::error_code convertToErrorCode() const override

Convert this error to a std::error_code.

Definition DWPError.h:14

static LLVM_ABI char ID

Definition DWPError.h:17

void log(raw_ostream &OS) const override

Print an error message to an output stream.

Definition DWPError.h:13

Base class for user error types.

This class implements an extremely fast bulk output stream that can only output to a stream.

#define llvm_unreachable(msg)

Marks that the current location is not supposed to be reachable.

This is an optimization pass for GlobalISel generic memory operations.

OutputIt move(R &&Range, OutputIt Out)

Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.

Implement std::hash so that hash_code can be used in STL containers.