We are currently rejecting an _Atomic qualified integer in a switch statment.
This fixes the issue by doing an Lvalue conversion before trying to match on the type.
Fixes #65557
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thank you for working on this! You should also add a release note for the fix.
clang/lib/Sema/SemaOverload.cpp | ||
---|---|---|
6306–6310 | I think this is a slightly cleaner version of what you were doing. |
Comment Actions
LGTM (with a tiny nit with the formatting in the release notes), thank you for the fix!
clang/docs/ReleaseNotes.rst | ||
---|---|---|
229 |
Comment Actions
I have fixed the ReleaseNote formatting error.
Please land this patch on my behalf "Guillot Tony <tony.guillot@protonmail.com>"