[clang] [Clang] Make matrix type trivially copyable (PR #193634)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 27 14:56:05 PDT 2026
================
@@ -3016,6 +3011,8 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
/// qualifiers from the outermost type.
const ArrayType *getAsArrayTypeUnsafe() const;
+ const MatrixType *getAsMatrixTypeUnsafe() const;
----------------
farzonl wrote:
I see you are copying the pattern started by `getAsArrayTypeUnsafe`. Are you sure that pattern is still the desired pattern for effectively doing a `getAs<>`?
https://github.com/llvm/llvm-project/pull/193634
More information about the cfe-commits
mailing list