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-03-25 05:13:48 +03:00
2024-01-18 15:04:32 -06:00
2024-05-05 13:43:10 -07:00
2024-04-26 22:08:45 -05:00
2022-12-21 13:25:15 -08:00
2023-03-14 13:00:38 -07:00
2024-03-19 16:22:30 -05:00
2024-03-19 16:22:30 -05:00
2024-02-29 09:51:52 -06:00
2023-01-28 09:23:07 -08:00
2023-04-18 13:29:41 +01:00
2024-03-19 16:36:29 +00:00
2024-03-10 20:00:13 -07:00
2023-12-24 23:09:55 -08:00
2024-04-26 22:08:45 -05:00
2024-04-24 14:24:14 +01:00
2022-12-02 20:36:06 -08:00
2022-11-17 15:51:38 -08:00
2022-11-17 15:51:38 -08:00
2023-11-16 13:48:20 -06:00
2023-11-16 13:48:20 -06:00
2023-11-16 13:48:20 -06:00
2022-11-17 15:51:38 -08:00
2022-11-17 15:51:38 -08:00
2022-11-17 15:51:38 -08:00
2022-11-18 13:53:34 -08:00
2022-12-16 23:36:51 -08:00
2022-12-16 23:36:51 -08:00
2024-01-20 18:57:31 -08:00
2024-04-24 14:24:14 +01:00
2024-03-27 16:16:15 +00:00
2024-02-10 14:42:50 -06:00
2023-02-19 22:04:47 -08:00
2024-03-10 20:00:13 -07:00
2024-02-21 19:50:29 -06:00
2024-03-08 19:05:00 +05:30
2024-04-30 12:21:29 -07:00
2022-11-17 15:51:38 -08:00
2024-04-24 14:24:14 +01:00
2024-03-06 17:40:13 +00:00
2023-05-16 10:05:59 -07:00
2024-01-24 09:30:33 -06:00
2024-01-24 09:30:33 -06:00
2024-01-14 00:53:29 -08:00
2024-03-11 19:48:17 +00:00
2024-01-25 12:01:31 -05:00
2024-01-09 12:25:17 +00:00
2024-02-29 16:57:33 -06:00
2023-12-18 11:58:42 +00:00
2022-12-21 10:49:32 -05:00
2022-11-17 15:51:38 -08:00
2024-02-08 21:45:15 -06:00
2024-03-23 15:02:27 +08:00
2024-02-14 13:10:18 -06:00
2022-11-22 11:31:22 -08:00
2024-02-08 21:45:15 -06:00
2023-05-16 18:58:45 -07:00
2023-05-16 18:58:45 -07:00
2023-05-28 08:32:43 -07:00
2022-11-17 15:51:38 -08:00
2022-11-17 15:51:38 -08:00
2022-11-17 15:51:38 -08:00
2022-11-17 15:51:38 -08:00
2023-04-15 14:14:56 -07:00
2024-03-17 18:15:56 +00:00
2024-04-12 10:57:01 +01:00
2024-04-12 10:57:01 +01:00
2024-04-26 22:08:45 -05:00
2024-02-29 16:57:33 -06:00
2024-05-05 13:43:10 -07:00
2024-03-19 16:22:30 -05:00
2024-04-09 16:36:08 +01:00
2024-04-24 10:51:18 +01:00
2024-02-22 17:31:37 -06:00
2024-03-10 20:00:13 -07:00
2023-09-11 20:01:19 +01:00
2022-11-15 06:48:53 -08:00
2024-02-29 09:51:52 -06:00
2023-06-15 09:01:04 -07:00
2023-06-12 13:51:31 -07:00
2023-06-15 09:01:04 -07:00
2023-06-15 09:01:04 -07:00