diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2025-01-14 12:10:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-14 12:10:57 -0500 |
commit | fbb4697c3f08dc3ef69e718b3c43dde494018de3 (patch) | |
tree | 4b60baff945298bdfd610920cd2090a2a089f510 /libcxx/src | |
parent | 8d9dcd111e5ced8135387917859dd64d67886be0 (diff) | |
download | llvm-fbb4697c3f08dc3ef69e718b3c43dde494018de3.zip llvm-fbb4697c3f08dc3ef69e718b3c43dde494018de3.tar.gz llvm-fbb4697c3f08dc3ef69e718b3c43dde494018de3.tar.bz2 |
[libc++] Remove unused _LIBCPP_HAS_NO_TREE_BARRIER macro and associated dead code (#122769)
That macro was present in the original implementation of the
synchronization library, but it was never defined and so it's
effectively unused.
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/barrier.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libcxx/src/barrier.cpp b/libcxx/src/barrier.cpp index b97c7bd..868f1bf 100644 --- a/libcxx/src/barrier.cpp +++ b/libcxx/src/barrier.cpp @@ -11,8 +11,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD -#if !defined(_LIBCPP_HAS_NO_TREE_BARRIER) - class __barrier_algorithm_base { public: struct alignas(64) /* naturally-align the heap state */ __state_t { @@ -70,6 +68,4 @@ _LIBCPP_EXPORTED_FROM_ABI void __destroy_barrier_algorithm_base(__barrier_algori delete __barrier; } -#endif // !defined(_LIBCPP_HAS_NO_TREE_BARRIER) - _LIBCPP_END_NAMESPACE_STD |