mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Swift: Remove SwiftDiagnostic constructor (C++20 todo).
This commit is contained in:
@@ -9,20 +9,21 @@
|
||||
const std::string_view codeql::programName = "autobuilder";
|
||||
|
||||
constexpr codeql::SwiftDiagnostic incompatibleOs{
|
||||
"incompatible-os",
|
||||
"Incompatible operating system (expected macOS)",
|
||||
"[Change the Actions runner][1] to run on macOS.\n"
|
||||
"\n"
|
||||
"You may be able to run analysis on Linux by setting up a [manual build command][2].\n"
|
||||
"\n"
|
||||
"[1]: "
|
||||
"https://docs.github.com/en/actions/using-workflows/"
|
||||
"workflow-syntax-for-github-actions#jobsjob_idruns-on\n"
|
||||
"[2]: "
|
||||
"https://docs.github.com/en/enterprise-server/code-security/code-scanning/"
|
||||
"automatically-scanning-your-code-for-vulnerabilities-and-errors/"
|
||||
"configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-"
|
||||
"language",
|
||||
.id = "incompatible-os",
|
||||
.name = "Incompatible operating system (expected macOS)",
|
||||
.action =
|
||||
"[Change the Actions runner][1] to run on macOS.\n"
|
||||
"\n"
|
||||
"You may be able to run analysis on Linux by setting up a [manual build command][2].\n"
|
||||
"\n"
|
||||
"[1]: "
|
||||
"https://docs.github.com/en/actions/using-workflows/"
|
||||
"workflow-syntax-for-github-actions#jobsjob_idruns-on\n"
|
||||
"[2]: "
|
||||
"https://docs.github.com/en/enterprise-server/code-security/code-scanning/"
|
||||
"automatically-scanning-your-code-for-vulnerabilities-and-errors/"
|
||||
"configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-"
|
||||
"language",
|
||||
};
|
||||
|
||||
static codeql::Logger& logger() {
|
||||
|
||||
Reference in New Issue
Block a user