[clang] [Clang] Make matrix type trivially copyable (PR #193634)

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 27 14:53:23 PDT 2026


================
@@ -3190,6 +3175,8 @@ class ASTContext : public RefCountedBase<ASTContext> {
   /// actually be an array type).
   QualType getBaseElementType(QualType QT) const;
 
+  QualType getMatrixBaseElementType(QualType QT) const;
----------------
farzonl wrote:

why can't we just call `getBaseElementType`? The matrix type has a `getElementType()` It isn't clear to me why we need special getters.

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


More information about the cfe-commits mailing list