Commit Graph

7 Commits

Author SHA1 Message Date
Dmitrii Galimzianov
28883b6654 [Diagnostics] Add -[no-]warning-as-error flags for precise control over warning behavior
This commit adds new compiler options -no-warning-as-error/-warning-as-error which allows users to specify behavior for exact warnings and warning groups.
2024-09-07 01:14:43 +02:00
Pavel Yaskevich
5a164c5f8a [Frontend] Switch from YAML to .strings based localization 2022-08-22 10:23:06 -07:00
Evan Wilde
0aafd09835 F_None was renamed OF_None
This patch updates usages of F_None to OF_None, as LLVM changed that in
commit 3302af9d4c39642bebe64dd60a3aa162fefc44b2.
2021-06-23 10:36:39 -07:00
Erik Eckstein
1224cfa61b update and unify the "please file a bug report" message
The new message is:
"Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace."

1. In crash logs we used to print a message which points to the llvm bug tracking page. Now it points to the swift.org bug tracking guidelines.
2. Use the same message in all compiler diagnostics which ask the user to file a bug report.

rdar://problem/70488534
2020-10-23 11:57:22 +02:00
Pavel Yaskevich
25b7949ad7 [Localization] Tests: Track and remove temporary files on fixture tear down
Let's replace use `llvm::sys::fs::RemoveFileOnSignal` with manual
tracking of created temporary files. Signals are unavailable on
Windows so all of the temporary files are going to be left in place
otherwise.
2020-09-11 12:06:02 -07:00
Pavel Yaskevich
0baf84431e [Localization] Expose a way to create temporary files through LocalizationTest 2020-09-08 01:00:51 -07:00
Pavel Yaskevich
4f464ff0d4 [Localization] Extract testing fixture and diagnostic definitions into a header
Doing so make it easy to share common bits of localization testing
infrastructure.
2020-09-07 19:09:59 -07:00