[libcxx-commits] [PATCH] D112221: Mark ATOMIC_VAR_INIT and ATOMIC_FLAG_INIT as deprecated

Aaron Ballman via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 15 12:01:56 PST 2021


aaron.ballman added a comment.

In D112221#3195533 <https://reviews.llvm.org/D112221#3195533>, @tambre wrote:

> I only took care of `std::atomic_init()` and seemingly completely missed cleaning up uses of `ATOMIC_VAR_INIT`.
> I do remember not being able to add a deprecation notice for `ATOMIC_VAR_INIT` and `ATOMIC_FLAG_INIT` at the time as `#pragma deprecated` didn't exist yet. libc++ itself defines both of them.

Yeah, it's a relatively new feature that was added in 26c695b7893071d5e69afbaa70c4850ab2e468be <https://reviews.llvm.org/rG26c695b7893071d5e69afbaa70c4850ab2e468be>


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112221/new/

https://reviews.llvm.org/D112221



More information about the libcxx-commits mailing list