Takuya Shimizu
2176c5e510
[Clang][Sema] Fix display of characters on static assertion failure
...
This patch fixes the display of characters appearing in LHS or RHS of == expression in notes to static assertion failure.
This applies C-style escape if the printed character is a special character. This also adds a numerical value displayed next to the character representation.
This also tries to print multi-byte characters if the user-provided expression is multi-byte char type.
Reviewed By: cor3ntin
Differential Revision: https://reviews.llvm.org/D155610
2023-10-04 14:09:06 +09:00
..
2023-08-11 08:42:01 -04:00
2020-09-16 14:49:03 -04:00
2023-08-11 08:42:01 -04:00
2022-12-06 11:02:27 +08:00
2023-08-28 12:13:42 -04:00
2023-05-25 11:55:44 +01:00
2021-03-12 07:21:03 -05:00
2022-05-05 18:39:13 -04:00
2020-05-05 13:54:55 -04:00
2020-05-08 13:33:39 -04:00
2023-08-01 11:00:27 -07:00
2020-05-01 14:17:01 -04:00
2020-04-28 23:49:35 -07:00
2023-05-04 19:19:52 +02:00
2022-10-28 15:05:21 +02:00
2023-07-12 08:03:23 +02:00
2023-08-28 12:13:42 -04:00
2022-07-13 10:19:26 +02:00
2022-07-13 10:19:26 +02:00
2022-02-09 17:16:10 -05:00
2023-08-28 12:13:42 -04:00
2023-02-23 14:40:58 +08:00
2023-08-28 12:13:42 -04:00
2023-10-04 14:09:06 +09:00
2020-02-18 16:16:37 -08:00
2020-02-18 16:16:37 -08:00
2023-08-29 09:36:59 -04:00
2023-08-11 08:42:01 -04:00
2023-09-06 23:20:00 +02:00
2021-11-11 13:51:26 -06:00
2023-07-03 10:15:40 -04:00
2023-06-05 11:09:58 -04:00
2021-05-27 18:24:21 +02:00
2020-10-08 10:30:54 -07:00
2022-07-19 15:04:58 -04:00
2022-04-08 14:28:33 -07:00
2020-05-15 12:23:31 -07:00
2022-05-10 14:32:27 -04:00
2023-05-31 07:26:03 +02:00
2023-08-11 08:42:01 -04:00
2022-08-26 09:20:05 -04:00
2019-11-26 20:28:52 -08:00
2022-05-26 12:50:06 -07:00
2022-05-26 12:50:06 -07:00
2023-08-28 12:13:42 -04:00
2020-10-06 08:47:17 -04:00
2022-02-09 17:16:10 -05:00
2023-08-28 12:13:42 -04:00
2022-06-29 14:57:35 +02:00
2022-02-09 17:16:10 -05:00
2022-02-09 17:16:10 -05:00
2021-09-27 14:11:16 -05:00
2022-01-10 16:38:01 -08:00
2023-08-28 12:13:42 -04:00
2022-02-09 17:16:10 -05:00
2023-08-28 12:13:42 -04:00
2023-08-28 12:13:42 -04:00
2023-08-28 12:13:42 -04:00
2023-05-04 19:19:52 +02:00
2022-11-16 14:36:16 -08:00
2022-02-09 17:16:10 -05:00
2023-05-31 07:26:03 +02:00
2023-08-10 13:57:40 -04:00
2021-08-23 09:46:38 -07:00
2022-10-26 12:03:21 +02:00
2023-02-22 10:16:02 +01:00
2023-08-10 13:57:40 -04:00
2023-08-28 12:13:42 -04:00
2020-09-22 08:03:03 -04:00
2022-02-09 17:16:10 -05:00