[clang] [clang] Define ATOMIC_FLAG_INIT correctly for C++. (PR #97534)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 22 08:56:13 PDT 2024


================
@@ -750,6 +750,8 @@ Bug Fixes in This Version
 
 - Fixed `static_cast` to array of unknown bound. Fixes (#GH62863).
 
+- Fixed the definition of ATOMIC_FLAG_INIT in stdatomic.h so it can be used in C++.
----------------
AaronBallman wrote:

```suggestion
- Fixed the definition of ``ATOMIC_FLAG_INIT`` in ``<stdatomic.h>`` so it can be used in C++.
```

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


More information about the cfe-commits mailing list