[clang] [Clang] [Sema] Reject non-power-of-2 `_BitInt` matrix element types (PR #117487)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 25 00:29:41 PST 2024


================
@@ -2312,6 +2312,18 @@ QualType Sema::BuildArrayType(QualType T, ArraySizeModifier ASM,
   return T;
 }
 
+bool CheckBitIntElementType(Sema &S, SourceLocation AttrLoc,
----------------
tbaederr wrote:

```suggestion
static bool CheckBitIntElementType(Sema &S, SourceLocation AttrLoc,
```

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


More information about the cfe-commits mailing list