[clang] [clang][Sema] Fix type of an statement expression ending with an atomic type (PR #119711)

John McCall via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 12 11:56:15 PST 2025


Alejandro =?utf-8?q?=C3=81lvarez_Ayll=C3=B3n?=,
Alejandro =?utf-8?q?=C3=81lvarez_Ayll=C3=B3n?=,
Alejandro =?utf-8?q?=C3=81lvarez_Ayll=C3=B3n?=,
Alejandro =?utf-8?q?=C3=81lvarez_Ayll=C3=B3n?=
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/119711 at github.com>


================
@@ -0,0 +1,16 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+typedef _Atomic char atomic_char;
+
+typedef _Atomic char atomic_char;
----------------
rjmccall wrote:

Presumably the redundant typedef is not a critical part of this test.

https://github.com/llvm/llvm-project/pull/119711


More information about the cfe-commits mailing list