llvm-project/llvm/lib/Support/Unix
Kazu Hirata aadaaface2 [llvm] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated.  The intent is to reduce
the amount of manual work required in migrating from Optional to
std::optional.

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-12-02 21:11:44 -08:00
..
COM.inc [Support] Apply clang-format on .inc files. NFC. 2022-11-26 09:36:43 -05:00
DynamicLibrary.inc [Support] Apply clang-format on .inc files. NFC. 2022-11-26 09:36:43 -05:00
Host.inc
Memory.inc [Support] Apply clang-format on .inc files. NFC. 2022-11-26 09:36:43 -05:00
Path.inc [Support] Apply clang-format on .inc files. NFC. 2022-11-26 09:36:43 -05:00
Process.inc [llvm] Use std::nullopt instead of None (NFC) 2022-12-02 21:11:44 -08:00
Program.inc Support: Convert Program APIs to std::optional 2022-12-01 17:00:44 -05:00
README.txt
Signals.inc Use CTAD on llvm::SaveAndRestore 2022-12-02 15:36:12 -08:00
ThreadLocal.inc [Support] Apply clang-format on .inc files. NFC. 2022-11-26 09:36:43 -05:00
Threading.inc [Support] Move getHostNumPhysicalCores to Threading.h 2022-11-29 13:14:13 +00:00
Unix.h [llvm] Unix.h - Replace report_fatal_error(std::string) with report_fatal_error(Twine) 2021-10-06 12:13:40 +01:00
Watchdog.inc [Support] Apply clang-format on .inc files. NFC. 2022-11-26 09:36:43 -05:00

README.txt

llvm/lib/Support/Unix README
===========================

This directory provides implementations of the lib/System classes that
are common to two or more variants of UNIX. For example, the directory
structure underneath this directory could look like this:

Unix           - only code that is truly generic to all UNIX platforms
  Posix        - code that is specific to Posix variants of UNIX
  SUS          - code that is specific to the Single Unix Specification
  SysV         - code that is specific to System V variants of UNIX

As a rule, only those directories actually needing to be created should be
created. Also, further subdirectories could be created to reflect versions of
the various standards. For example, under SUS there could be v1, v2, and v3
subdirectories to reflect the three major versions of SUS.