[clang] NFC: Remove duplicate DependentSizedMatrixType methods
authorCullen Rhodes <cullen.rhodes@arm.com>
Thu, 2 Sep 2021 08:47:42 +0000 (08:47 +0000)
committerCullen Rhodes <cullen.rhodes@arm.com>
Thu, 2 Sep 2021 10:46:20 +0000 (10:46 +0000)
Inherited from MatrixType.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D109137

clang/include/clang/AST/Type.h

index fc83c89..49ff986 100644 (file)
@@ -3524,14 +3524,10 @@ class DependentSizedMatrixType final : public MatrixType {
                            Expr *ColumnExpr, SourceLocation loc);
 
 public:
-  QualType getElementType() const { return ElementType; }
   Expr *getRowExpr() const { return RowExpr; }
   Expr *getColumnExpr() const { return ColumnExpr; }
   SourceLocation getAttributeLoc() const { return loc; }
 
-  bool isSugared() const { return false; }
-  QualType desugar() const { return QualType(this, 0); }
-
   static bool classof(const Type *T) {
     return T->getTypeClass() == DependentSizedMatrix;
   }