Richard Smith
2e63da1a40
Move diagnostic kind name to the end of the diagnostic. ( #4437 )
...
Also surround it in square brackets rather than parentheses. This
matches the format used by Clang and GCC, and means diagnostics will
still match the `file:line:col: error: ` pattern used by some IDE tools.
Before:
```console
fail_builtins.carbon:11:11: error(AliasRequiresNameRef): alias initializer must be a name reference
```
After:
```console
fail_builtins.carbon:11:11: error: alias initializer must be a name reference [AliasRequiresNameRef]
```
Also tighten up test regex to only match on `STDERR` lines that list a
file name.
2024-10-23 16:56:23 +00:00
..
2023-09-01 01:35:45 +00:00
2024-10-23 16:56:23 +00:00
2024-10-16 22:46:15 +00:00
2024-10-21 19:39:53 +00:00
2024-09-15 23:48:19 +00:00
2024-07-31 19:39:45 +00:00
2024-06-04 20:04:45 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-10-21 19:39:53 +00:00
2024-10-16 22:46:15 +00:00
2024-07-31 19:39:45 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-07-31 19:39:45 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-07-31 19:39:45 +00:00
2024-07-31 19:39:45 +00:00
2024-09-19 21:32:53 +00:00
2024-06-04 20:04:45 +00:00
2024-06-04 20:04:45 +00:00
2024-09-19 21:32:53 +00:00
2024-07-31 19:39:45 +00:00
2024-06-04 20:04:45 +00:00
2024-10-16 22:46:15 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-06-04 20:04:45 +00:00
2024-09-19 21:32:53 +00:00
2024-06-04 20:04:45 +00:00
2024-09-11 03:17:07 +00:00
2024-05-31 23:11:51 +00:00
2024-09-11 21:36:55 +00:00
2024-09-12 16:42:08 +00:00
2024-06-04 20:04:45 +00:00
2024-09-12 16:42:08 +00:00
2024-01-03 19:44:05 +00:00
2024-08-22 22:32:19 +00:00
2024-09-13 10:03:21 +00:00
2024-09-13 10:03:21 +00:00
2024-01-29 16:15:35 +00:00
2024-09-12 01:39:22 +00:00
2023-11-10 10:43:25 +00:00
2024-09-12 16:42:08 +00:00
2024-09-12 16:42:08 +00:00
2024-07-31 19:39:45 +00:00
2024-10-10 19:43:31 +00:00
2024-09-11 21:36:55 +00:00
2024-09-11 21:36:55 +00:00
2024-10-10 19:43:31 +00:00
2024-09-12 01:39:22 +00:00