Kazu Hirata
c18bcd0a57
[Target] Use StringRef::operator== instead of StringRef::equals (NFC) ( #91072 ) ( #91138 )
...
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.
- StringRef::operator==/!= outnumber StringRef::equals by a factor of
38 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-05 13:43:10 -07:00
..
2024-02-13 22:00:30 +00:00
2024-04-25 14:57:27 -07:00
2024-03-26 03:04:49 -07:00
2024-04-15 09:59:47 +02:00
2024-04-22 10:47:46 -07:00
2024-04-22 10:47:46 -07:00
2024-05-05 13:43:10 -07:00
2024-03-03 22:38:59 -08:00
2024-04-26 12:17:47 +02:00
2024-04-15 09:59:47 +02:00
2024-02-12 11:22:48 +01:00
2024-03-26 03:04:49 -07:00
2024-03-26 03:04:49 -07:00
2024-03-25 10:14:46 +01:00
2024-03-25 10:14:46 +01:00
2024-04-26 12:17:47 +02:00
2024-04-17 11:50:37 +02:00
2024-04-15 09:59:47 +02:00
2024-04-17 11:50:37 +02:00
2024-02-19 18:48:41 -08:00
2024-04-17 11:50:37 +02:00
2024-04-24 11:28:29 +02:00
2024-04-26 12:17:47 +02:00
2024-04-09 16:15:44 +02:00
2024-03-13 08:32:01 +01:00
2024-01-03 07:59:36 +00:00
2024-03-18 11:42:44 +01:00
2024-03-03 22:38:59 -08:00
2024-03-03 22:38:59 -08:00
2024-04-22 10:47:46 -07:00
2024-04-22 10:47:46 -07:00
2024-04-17 11:50:37 +02:00
2024-04-26 12:17:47 +02:00
2024-03-18 11:42:44 +01:00
2024-04-17 11:50:37 +02:00
2024-04-17 11:50:37 +02:00
2024-04-17 11:50:37 +02:00
2023-12-16 10:14:44 -08:00
2024-01-15 11:35:35 +01:00
2024-04-22 10:47:46 -07:00
2024-04-22 10:47:46 -07:00
2024-04-24 11:28:29 +02:00
2024-04-16 11:37:29 +01:00
2023-09-14 14:10:14 -07:00
2024-04-18 19:38:04 +02:00
2024-04-18 19:38:04 +02:00