Kazu Hirata
deffae5da1
[clang] Use StringRef::operator== instead of StringRef::equals (NFC) ( #91844 )
...
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.
- StringRef::operator==/!= outnumber StringRef::equals by a factor of
24 under clang/ 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-11 11:38:52 -07:00
..
2024-05-10 08:09:02 +01:00
2024-03-29 09:35:31 -04:00
2024-05-04 18:38:45 +01:00
2024-02-26 21:19:02 +05:30
2023-04-24 12:16:54 +03:00
2024-05-11 11:38:52 -07:00
2024-04-26 12:05:15 -04:00
2023-05-24 17:28:41 +01:00
2024-04-26 12:05:15 -04:00
2024-03-15 07:24:28 -07:00
2024-04-26 12:05:15 -04:00
2024-01-27 18:29:37 +01:00
2024-01-27 18:29:37 +01:00
2024-05-02 17:15:57 -05:00
2023-05-24 17:28:41 +01:00
2023-04-24 12:16:54 +03:00
2023-01-09 12:15:24 +01:00
2023-04-24 12:16:54 +03:00
2023-05-24 17:28:41 +01:00
2023-04-24 12:16:54 +03:00
2024-03-29 09:35:31 -04:00
2024-03-29 09:35:31 -04:00
2024-04-02 11:32:15 -05:00
2024-04-26 12:05:15 -04:00
2023-12-13 08:54:13 -08:00
2024-04-26 12:05:15 -04:00
2023-05-24 17:28:41 +01:00
2023-04-24 12:16:54 +03:00
2024-04-16 07:43:13 -05:00
2024-01-30 21:44:43 -06:00
2023-12-09 14:35:38 +04:00
2024-01-17 21:09:15 -08:00
2022-12-03 11:34:27 -08:00
2023-04-24 12:16:54 +03:00
2024-05-09 09:50:36 +08:00
2024-05-11 11:38:52 -07:00
2024-04-16 15:40:32 -07:00
2024-04-26 12:05:15 -04:00
2023-09-01 21:45:22 +02:00
2024-04-26 12:05:15 -04:00
2023-09-11 10:15:24 +02:00
2024-04-16 12:09:32 -07:00
2024-01-27 18:29:37 +01:00
2024-05-11 11:38:52 -07:00
2023-04-24 12:16:54 +03:00
2023-05-24 17:28:41 +01:00
2024-03-29 09:35:31 -04:00
2024-05-03 14:08:22 -07:00
2024-05-02 09:45:58 -07:00
2024-05-11 15:55:59 +08:00
2024-05-11 11:38:52 -07:00
2023-01-23 14:27:44 +01:00
2023-04-24 12:16:54 +03:00