Kazu Hirata 7ee6288312
[Support] Use StringRef::operator== instead of StringRef::equals (NFC) (#91042)
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.

- StringRef::operator== outnumbers StringRef::equals by a factor of 25
  under llvm/ in terms of their usage.

- The elimination of StringRef::equals brings StringRef closer to
  std::string_view, which has operator== but not equals.

- S == "foo" is more readable than S.equals("foo"), especially for
  !Long.Expression.equals("str") vs Long.Expression != "str".
2024-05-04 08:46:48 -07:00
..
2024-04-12 14:33:35 -07:00
2023-06-13 10:47:18 +01:00
2023-05-30 14:12:20 -07:00
2023-12-01 11:28:42 -08:00
2023-07-18 13:36:11 -07:00