[PATCH] D109137: [clang] NFC: Remove duplicate DependentSizedMatrixType methods

Cullen Rhodes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 2 01:17:39 PDT 2021


c-rhodes created this revision.
c-rhodes added a reviewer: fhahn.
c-rhodes requested review of this revision.
Herald added a project: clang.

Inherited from MatrixType.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109137

Files:
  clang/include/clang/AST/Type.h


Index: clang/include/clang/AST/Type.h
===================================================================
--- clang/include/clang/AST/Type.h
+++ clang/include/clang/AST/Type.h
@@ -3524,14 +3524,10 @@
                            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;
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109137.370183.patch
Type: text/x-patch
Size: 703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210902/fd8cc265/attachment.bin>


More information about the cfe-commits mailing list