diff options
| author | Konstantin Varlamov <varconsteq@gmail.com> | 2024-01-30 11:44:15 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-30 11:44:15 -0800 |
| commit | 85a847fd1d639a0e7d5319b17e994ea157be6046 (patch) | |
| tree | 169b9a9534e46c36d81d62e539a3fe776de99336 /clang/lib/Basic/FileManager.cpp | |
| parent | 626fe71fa5ed79cbd41b7b29582560d7adb1220e (diff) | |
| download | llvm-85a847fd1d639a0e7d5319b17e994ea157be6046.zip llvm-85a847fd1d639a0e7d5319b17e994ea157be6046.tar.gz llvm-85a847fd1d639a0e7d5319b17e994ea157be6046.tar.bz2 | |
[libc++] Simplify features for detecting atomics' support. (#75553)
`non-lockfree-atomics` is very similar to `has-64-bit-atomics`; to
simplify, we can have uniform features for atomic types of
increasing sizes (`has-128-bit-atomics`, `has-256-bit-atomics`, etc.).
`is-lockfree-runtime-function` feature was a workaround for the partial
support for large atomic types on older versions of macOS (see
https://reviews.llvm.org/D91911). While we still support macOS 10.14,
conceptually it's simpler to check for support for all the atomic
functionality inside the `has-*-atomics` features, and the workaround is
no longer worth the maintenance cost.
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions
