Commit Graph

14 Commits

Author SHA1 Message Date
Pavel Yaskevich
5a164c5f8a [Frontend] Switch from YAML to .strings based localization 2022-08-22 10:23:06 -07:00
Josh Soref
76ffd608f6 spelling: nonexistent
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2022-05-01 04:00:16 -04:00
Hassan
9618461748 [Localization] Remove checking on unknownIDs from tests 2021-03-25 22:12:25 +02:00
Hassan
65da71a05f [tests] Add new line to the end of the files 2021-03-23 10:44:40 +02:00
Hassan
8665e0cb55 [Localization] Move localization allocator from DiagEngine to the localization producer 2021-03-23 10:41:54 +02:00
Hassan
ef7551d4f5 [Localization] Add an allocator to to retain diagnostic strings 2021-03-17 10:23:02 +02:00
Hassan
1b0e8f9cec [Localization] Make localization producer handle printing diagnostics IDs 2021-03-14 17:38:34 +02:00
Hassan
dc5a4bd1ec [Localization] Print diagnostic ID name from localization 2021-03-14 17:37:55 +02:00
Slava Pestov
5808d9beb9 Parse: Remove parse-time name lookup 2020-11-16 22:39:44 -05:00
Slava Pestov
bd36100cb3 Update tests in preparation for disabling parser lookup
I created a second copy of each test where the output changes
after disabling parser lookup. The primary copy now explicitly
calls the frontend with -disable-parser-lookup and expects the
new diagnostics; the *_parser_lookup.swift version calls the
frontend with -enable-parser-lookup and has the old expectations.

This allows us to turn parser lookup on and off by default
without disturbing tests. Once parser lookup is completely
removed we can remove the *_parser_lookup.swift variants.
2020-10-03 09:37:55 -04:00
HassanElDesouky
a3b801408b [Localization] Make the serialization tool print the removed diagnostics 2020-08-09 23:18:17 +02:00
HassanElDesouky
a84cf7f9e8 [Locale] Serialize YAML to an OnDiskHashTable format and create a tool for serialization 2020-08-05 15:52:46 -07:00
HassanElDesouky
493d1025e6 [Localization] Ignore diagnostic IDs that are available in YAML and not in .def 2020-08-05 21:02:33 +02:00
HassanElDesouky
063e92aa53 Create frontend flags for localization 2020-06-30 23:12:40 +02:00