diff options
| author | Ben Barham <ben_barham@apple.com> | 2022-02-21 21:13:38 -0800 |
|---|---|---|
| committer | Ben Barham <ben_barham@apple.com> | 2022-02-22 15:05:58 -0800 |
| commit | ed4f0cb87878e63378f2a37a2af2b538eb493a04 (patch) | |
| tree | adc46ea99259e8dbce3a023cb64c86f8d83cb85e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 2df019ab5aab3333397662e69c8c774782e5333b (diff) | |
[VFS] Use generic_category for errors generated from the VFS
Errors are generally checked in clients by comparing to the portable
error condition in `std::errc`, which will have the `generic_category`
(eg. `std::errc::no_such_file_or_directory`). While in practice these
are usually equivalent for the standard errno's, they are not in *all*
implementations. One such example is CentOS 7.
Differential Revision: https://reviews.llvm.org/D120299
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
