Merge pull request #34376 from eeckstein/bug-report-message

update and unify the "please file a bug report" message
This commit is contained in:
eeckstein
2020-10-29 08:37:01 +01:00
committed by GitHub
10 changed files with 27 additions and 10 deletions

View File

@@ -89,4 +89,18 @@
#define SWIFT_ATTRIBUTE_NORETURN
#endif
#ifndef SWIFT_BUG_REPORT_URL
#define SWIFT_BUG_REPORT_URL "https://swift.org/contributing/#reporting-bugs"
#endif
#define SWIFT_BUG_REPORT_MESSAGE_BASE \
"submit a bug report (" SWIFT_BUG_REPORT_URL \
") and include the project"
#define SWIFT_BUG_REPORT_MESSAGE \
"please " SWIFT_BUG_REPORT_MESSAGE_BASE
#define SWIFT_CRASH_BUG_REPORT_MESSAGE \
"Please " SWIFT_BUG_REPORT_MESSAGE_BASE " and the crash backtrace."
#endif // SWIFT_BASIC_COMPILER_H