[clang] a7c6bec - [Sema] Remove unused matrix_begin/end helpers (NFC).
Florian Hahn via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 4 03:29:31 PDT 2020
Author: Florian Hahn
Date: 2020-06-04T11:29:01+01:00
New Revision: a7c6bec228ca28e9eee77433292ac86d77b67790
URL: https://github.com/llvm/llvm-project/commit/a7c6bec228ca28e9eee77433292ac86d77b67790
DIFF: https://github.com/llvm/llvm-project/commit/a7c6bec228ca28e9eee77433292ac86d77b67790.diff
LOG: [Sema] Remove unused matrix_begin/end helpers (NFC).
The matrix_types() helper returning an iterator range is used instead.
Added:
Modified:
clang/lib/Sema/SemaOverload.cpp
Removed:
################################################################################
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp
index 9739e1511039..11b6e40e8cd4 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/lib/Sema/SemaOverload.cpp
@@ -7749,8 +7749,6 @@ class BuiltinCandidateTypeSet {
iterator vector_end() { return VectorTypes.end(); }
llvm::iterator_range<iterator> matrix_types() { return MatrixTypes; }
- iterator matrix_begin() { return MatrixTypes.begin(); }
- iterator matrix_end() { return MatrixTypes.end(); }
bool containsMatrixType(QualType Ty) const { return MatrixTypes.count(Ty); }
bool hasNonRecordTypes() { return HasNonRecordTypes; }
More information about the cfe-commits
mailing list