[PATCH] D99483: [clang][AIX] Define __STDC_NO_ATOMICS__ for c11 and above
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 30 09:14:14 PDT 2021
hubert.reinterpretcast added inline comments.
================
Comment at: clang/lib/Basic/Targets/OSTargets.h:727
+ // The AIX library implementation of C11 atomics is not yet complete.
+ if (Opts.C11 || Opts.C17 || Opts.C2x) {
+ Builder.defineMacro("__STDC_NO_ATOMICS__");
----------------
Checking `Opts.C11` might be sufficient.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99483/new/
https://reviews.llvm.org/D99483
More information about the cfe-commits
mailing list