[clang] [Clang] [C23] Fix typeof_unqual for qualified array types (PR #92767)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue May 21 06:25:39 PDT 2024


================
@@ -2092,8 +2096,8 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
 
     LLVM_PREFERRED_TYPE(TypeBitfields)
     unsigned : NumTypeBits;
-    LLVM_PREFERRED_TYPE(bool)
-    unsigned IsUnqual : 1; // If true: typeof_unqual, else: typeof
+    LLVM_PREFERRED_TYPE(TypeOfKind)
----------------
AaronBallman wrote:

Good drive-by catch! Technically unrelated to this PR, but I think it's fine to leave in.

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


More information about the cfe-commits mailing list