From: Cullen Rhodes Date: Thu, 2 Sep 2021 08:47:42 +0000 (+0000) Subject: [clang] NFC: Remove duplicate DependentSizedMatrixType methods X-Git-Tag: upstream/15.0.7~32433 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9722e8ff9eab9ec9c0d8fc0008fd368f93210ba5;p=platform%2Fupstream%2Fllvm.git [clang] NFC: Remove duplicate DependentSizedMatrixType methods Inherited from MatrixType. Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D109137 --- diff --git a/clang/include/clang/AST/Type.h b/clang/include/clang/AST/Type.h index fc83c89..49ff986 100644 --- a/clang/include/clang/AST/Type.h +++ b/clang/include/clang/AST/Type.h @@ -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; }