LLVM: include/llvm/Support/Errc.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
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29#ifndef LLVM_SUPPORT_ERRC_H
30#define LLVM_SUPPORT_ERRC_H
31
32#include <system_error>
33
34namespace llvm {
41
42
43
54 int(std::errc::inappropriate_io_control_operation),
75 int(std::errc::resource_unavailable_try_again),
80};
81
83 return std::error_code(static_cast<int>(E), std::generic_category());
84}
85}
86
87namespace std {
88template <> struct is_error_code_enum<llvm::errc> : std::true_type {};
89}
90#endif
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
This is an optimization pass for GlobalISel generic memory operations.
std::error_code make_error_code(BitcodeError E)
@ read_only_file_system
Definition Errc.h:72
@ no_space_on_device
Definition Errc.h:62
@ argument_list_too_long
Definition Errc.h:36
@ not_a_directory
Definition Errc.h:67
@ no_such_file_or_directory
Definition Errc.h:65
@ broken_pipe
Definition Errc.h:40
@ too_many_files_open_in_system
Definition Errc.h:77
@ file_exists
Definition Errc.h:48
@ inappropriate_io_control_operation
Definition Errc.h:53
@ argument_out_of_domain
Definition Errc.h:37
@ executable_format_error
Definition Errc.h:47
@ illegal_byte_sequence
Definition Errc.h:52
@ no_lock_available
Definition Errc.h:61
@ no_such_device_or_address
Definition Errc.h:63
@ directory_not_empty
Definition Errc.h:46
@ filename_too_long
Definition Errc.h:50
@ operation_not_permitted
Definition Errc.h:70
@ result_out_of_range
Definition Errc.h:76
@ bad_file_descriptor
Definition Errc.h:39
@ file_too_large
Definition Errc.h:49
@ function_not_supported
Definition Errc.h:51
@ not_supported
Definition Errc.h:69
@ bad_address
Definition Errc.h:38
@ not_enough_memory
Definition Errc.h:68
@ device_or_resource_busy
Definition Errc.h:45
@ invalid_seek
Definition Errc.h:57
@ too_many_links
Definition Errc.h:79
@ io_error
Definition Errc.h:58
@ no_child_process
Definition Errc.h:60
@ no_such_process
Definition Errc.h:66
@ delete_pending
Definition Errc.h:44
@ resource_unavailable_try_again
Definition Errc.h:74
@ invalid_argument
Definition Errc.h:56
@ permission_denied
Definition Errc.h:71
@ too_many_files_open
Definition Errc.h:78
@ resource_deadlock_would_occur
Definition Errc.h:73
@ is_a_directory
Definition Errc.h:59
@ no_such_device
Definition Errc.h:64
@ interrupted
Definition Errc.h:55
Implement std::hash so that hash_code can be used in STL containers.