[clang] [Sema] atomic_compare_exchange: check failure memory order (PR #74959)

James Y Knight via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 14 06:38:28 PST 2023


jyknight wrote:

> > Did this change anything for the `scoped_atomic_compare_exchange_n` variant I added recently?

The scoped variant(s) use the same codepath here, so they'll also verify that the failure order is valid.

https://github.com/llvm/llvm-project/pull/74959


More information about the cfe-commits mailing list