[clang] 9722e8f - [clang] NFC: Remove duplicate DependentSizedMatrixType methods
Cullen Rhodes via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 2 03:47:05 PDT 2021
Author: Cullen Rhodes
Date: 2021-09-02T10:46:20Z
New Revision: 9722e8ff9eab9ec9c0d8fc0008fd368f93210ba5
URL: https://github.com/llvm/llvm-project/commit/9722e8ff9eab9ec9c0d8fc0008fd368f93210ba5
DIFF: https://github.com/llvm/llvm-project/commit/9722e8ff9eab9ec9c0d8fc0008fd368f93210ba5.diff
LOG: [clang] NFC: Remove duplicate DependentSizedMatrixType methods
Inherited from MatrixType.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D109137
Added:
Modified:
clang/include/clang/AST/Type.h
Removed:
################################################################################
diff --git a/clang/include/clang/AST/Type.h b/clang/include/clang/AST/Type.h
index fc83c895afa2e..49ff9861d165f 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;
}
More information about the cfe-commits
mailing list