diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-06-29 17:59:32 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-29 17:59:32 +0530 |
| commit | 3f2ba251591410016a1e056c6cdafc30c965db29 (patch) | |
| tree | 9fdd5b6f42733d88d883a864553b675ae56dbab0 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | d10497bba2b257162ad10ddeb729341c72f58c2f (diff) | |
| parent | 9c5ae20c5952824614a3d2c67a467f2c0d0d9d86 (diff) | |
| download | rust-3f2ba251591410016a1e056c6cdafc30c965db29.tar.gz rust-3f2ba251591410016a1e056c6cdafc30c965db29.zip | |
Rollup merge of #98479 - leocth:atomic-bool-fetch-not, r=joshtriplett
Add `fetch_not` method on `AtomicBool` This PR adds a `fetch_not` method on `AtomicBool` performs the NOT operation on the inner value. Internally, this just calls the `fetch_xor` method with the value `true`. [See this IRLO discussion](https://internals.rust-lang.org/t/could-we-have-fetch-not-for-atomicbool-s/16881)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
