[PATCH] D125349: [Sema] Fix crash for C11 atomic in gnu++ mode

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 12 10:51:18 PDT 2022


ahatanak added a comment.

Is it not possible to handle this similarly to `volatile unsigned`? If I replace `_Atomic unsigned` with `volatile unsigned`, I see `LookupOverloadedBinOp` succeed without having to strip volatile because `addAssignmentArithmeticOverloads` adds candidates with volatile types.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125349/new/

https://reviews.llvm.org/D125349



More information about the cfe-commits mailing list