[PATCH] D159522: [Clang][C] Fixed a bug where we reject an _Atomic qualified integer in a switch statment

2023-09-20 Thread Corentin Jabot via Phabricator via cfe-commits
cor3ntin added a comment. @to268 as discussed, i landed the change on your behalf. Thanks for the patch! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159522/new/ https://reviews.llvm.org/D159522 ___

[PATCH] D159522: [Clang][C] Fixed a bug where we reject an _Atomic qualified integer in a switch statment

2023-09-20 Thread Corentin Jabot via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG624c13057874: [Clang][C] Fixed a bug where we reject an _Atomic qualified integer in a switch… (authored by to268, committed by cor3ntin). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST

[PATCH] D159522: [Clang][C] Fixed a bug where we reject an _Atomic qualified integer in a switch statment

2023-09-16 Thread Guillot Tony via Phabricator via cfe-commits
to268 updated this revision to Diff 556892. to268 marked an inline comment as done. to268 added a comment. I have fixed the ReleaseNote formatting error. Please land this patch on my behalf "Guillot Tony " Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D159522: [Clang][C] Fixed a bug where we reject an _Atomic qualified integer in a switch statment

2023-09-15 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM (with a tiny nit with the formatting in the release notes), thank you for the fix! Comment at: clang/docs/ReleaseNotes.rst:223 (`#64836

[PATCH] D159522: [Clang][C] Fixed a bug where we reject an _Atomic qualified integer in a switch statment

2023-09-15 Thread Guillot Tony via Phabricator via cfe-commits
to268 updated this revision to Diff 556871. to268 marked an inline comment as done. to268 added a comment. Added recommendation by @aaron.ballman Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159522/new/ https://reviews.llvm.org/D159522 Files:

[PATCH] D159522: [Clang][C] Fixed a bug where we reject an _Atomic qualified integer in a switch statment

2023-09-15 Thread Guillot Tony via Phabricator via cfe-commits
to268 updated this revision to Diff 556868. to268 added a comment. I have added the missing ReleaseNote. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159522/new/ https://reviews.llvm.org/D159522 Files: clang/docs/ReleaseNotes.rst

[PATCH] D159522: [Clang][C] Fixed a bug where we reject an _Atomic qualified integer in a switch statment

2023-09-15 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added a comment. Thank you for working on this! You should also add a release note for the fix. Comment at: clang/lib/Sema/SemaOverload.cpp:6306-6310 + ExprResult Converted = DefaultLvalueConversion(From); + QualType T = Converted.isUsable() ?

[PATCH] D159522: [Clang][C] Fixed a bug where we reject an _Atomic qualified integer in a switch statment

2023-09-15 Thread Guillot Tony via Phabricator via cfe-commits
to268 created this revision. to268 added a reviewer: aaron.ballman. to268 added a project: clang. Herald added a project: All. to268 requested review of this revision. Herald added a subscriber: cfe-commits. We are currently rejecting an _Atomic qualified integer in a switch statment. This fixes