[clang] [Clang] Add __scoped_atomic_uinc_wrap and __scoped_atomic_udec_wrap builtins (PR #168666)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 26 06:26:30 PST 2025
erichkeane wrote:
> > This change is causing an error on the build pipeline
> > ```
> > 2025-11-26T05:33:28.6987543Z CIR/CodeGen/CIRGenAtomic.cpp:419:11: error: enumeration values 'AO__scoped_atomic_udec_wrap' and 'AO__scoped_atomic_uinc_wrap' not handled in switch [-Werror,-Wswitch]
> > 2025-11-26T05:33:28.6989267Z 419 | switch (expr->getOp()) {
> > 2025-11-26T05:33:28.6989676Z | ^~~~~~~~~~~~~
> > 2025-11-26T05:33:28.6990043Z 1 error generated.
> > ```
>
> sorry, I didn't build CIR. I have just posted a fix: #169610, please review
Thanks! I've merged it.
https://github.com/llvm/llvm-project/pull/168666
More information about the cfe-commits
mailing list