[libcxx-commits] [libcxx] [libc++][Android] Always redirect <stdatomic.h> to <atomic> (PR #143036)

Hubert Tong via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 6 09:11:42 PDT 2026


hubert-reinterpretcast wrote:

IIUC, the proposal then (for Clang) is to ensure a diagnostic if the `_Atomic` keyword is used in C++ mode to ensure that user can redirect to the C++ type if that is their intention. I'm good with that for the Clang side.

The question on the libc++ side is how users expecting the C header or the C++ header will get what they expect (or be warned that they might not be getting what they expect).

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


More information about the libcxx-commits mailing list