LLVM: include/llvm/TextAPI/TextAPIError.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_TEXTAPI_TEXTAPIERROR_H

15#define LLVM_TEXTAPI_TEXTAPIERROR_H

16

19

28

30public:

31 static char ID;

34

38

40 std::error_code convertToErrorCode() const override;

41};

42

43}

44#endif

Base class for user error types.

TextAPIError(TextAPIErrorCode EC)

Definition TextAPIError.h:35

TextAPIError(TextAPIErrorCode EC, std::string Msg)

Definition TextAPIError.h:36

TextAPIErrorCode EC

Definition TextAPIError.h:32

static char ID

Definition TextAPIError.h:31

std::string Msg

Definition TextAPIError.h:33

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

TextAPIErrorCode

Definition TextAPIError.h:21

@ UnsupportedTarget

Definition TextAPIError.h:26

@ GenericFrontendError

Definition TextAPIError.h:24

@ EmptyResults

Definition TextAPIError.h:23

@ NoSuchArchitecture

Definition TextAPIError.h:22

@ InvalidInputFormat

Definition TextAPIError.h:25

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.