[all-commits] [llvm/llvm-project] 624c13: [Clang][C] Fixed a bug where we reject an _Atomic ...
Guillot Tony via All-commits
all-commits at lists.llvm.org
Wed Sep 20 10:19:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 624c130578744da4bb07b13e056e619f8ce260fa
https://github.com/llvm/llvm-project/commit/624c130578744da4bb07b13e056e619f8ce260fa
Author: Guillot Tony <tony.guillot at protonmail.com>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaOverload.cpp
M clang/test/Sema/atomic-expr.c
Log Message:
-----------
[Clang][C] Fixed a bug where we reject an _Atomic qualified integer in a switch statment
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
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D159522
More information about the All-commits
mailing list