[clang] [libcxx] [Clang] Support atomic operations on _BitInt(N) (PR #204815)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 26 10:00:14 PDT 2026
================
@@ -10412,8 +10412,6 @@ QualType Sema::BuildAtomicType(QualType T, SourceLocation Loc) {
else if (!T.isTriviallyCopyableType(Context) && getLangOpts().CPlusPlus)
// Some other non-trivially-copyable type (probably a C++ class)
DisallowedKind = 7;
- else if (T->isBitIntType())
- DisallowedKind = 8;
----------------
erichkeane wrote:
We should take this out of the list for the diagnostic (along with moving the one below up to 8).
https://github.com/llvm/llvm-project/pull/204815
More information about the cfe-commits
mailing list