Ebuka Ezike
75c597aa50
[llvm][Support] Remove unnecessary allocations when creating StringEr… ( #175863 )
...
…rors
The String Error class has three constructors .
StringError::StringError(const Twine &S, std::error_code EC)
StringError::StringError(std::error_code EC, const Twine &S)
StringError::StringError(std::string &&S, std::error_code EC, bool
PrintMsgOnly)
When we use the `createStringError(std::error_code, char const *, ... )`
it ends up using twine variant and ends up creating a new string twice
2026-01-14 09:25:28 +00:00
..
2026-01-01 07:52:55 +05:30
2026-01-14 09:10:05 +01:00
2026-01-02 20:42:56 -08:00
2026-01-05 23:18:48 +00:00
2025-12-11 18:38:39 +01:00
2026-01-02 20:42:56 -08:00
2025-11-01 12:42:06 -07:00
2026-01-14 08:12:26 +00:00
2025-11-01 09:25:19 -07:00
2026-01-13 21:19:39 +00:00
2025-11-09 15:15:10 +00:00
2025-12-31 14:36:37 +01:00
2026-01-09 12:02:22 -05:00
2025-11-25 04:15:08 +09:00
2025-12-04 10:17:16 +08:00
2026-01-12 17:47:13 +01:00
2025-12-22 18:11:34 +01:00
2026-01-12 12:18:01 -08:00
2026-01-13 11:52:46 -05:00
2025-12-15 15:44:04 +01:00
2026-01-13 21:19:39 +00:00
2026-01-08 16:50:05 +00:00
2025-11-11 19:49:53 -08:00
2026-01-13 08:44:48 -08:00
2026-01-13 09:15:27 -05:00
2025-12-12 14:48:04 +01:00
2026-01-13 08:44:48 -08:00
2026-01-13 08:44:48 -08:00
2025-11-17 07:59:37 -08:00
2026-01-06 12:41:25 -08:00
2025-12-22 18:11:34 +01:00
2026-01-13 23:18:45 -08:00
2026-01-13 08:44:48 -08:00
2026-01-04 09:24:53 +08:00
2026-01-14 09:25:28 +00:00
2026-01-09 15:16:09 +00:00
2026-01-14 00:37:22 -08:00
2026-01-13 09:10:09 +08:00
2025-11-22 15:30:43 -08:00
2026-01-14 09:10:05 +01:00
2025-10-20 09:34:45 -07:00
2026-01-01 07:52:55 +05:30