Skip to content

Commit 359541e

Browse files
committed
Remove the Identifier::is() method, it is now equivalent to operator==. NFC.
Summary: Depends on D78042. Reviewers: rriddle! Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, frgossen, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D78043
1 parent 3297e9b commit 359541e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mlir/include/mlir/IR/Identifier.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ class Identifier {
5151
/// Return the number of bytes in this string.
5252
unsigned size() const { return entry->getKeyLength(); }
5353

54-
/// Return true if this identifier is the specified string.
55-
bool is(StringRef string) const { return strref() == string; }
56-
5754
const char *begin() const { return data(); }
5855
const char *end() const { return entry->getKeyData() + size(); }
5956

0 commit comments

Comments
 (0)