mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Swift: Remove SwiftDiagnostic constructor (C++20 todo).
This commit is contained in:
@@ -13,21 +13,22 @@ static constexpr std::string_view unknownType = "<unknown_target_type>";
|
||||
|
||||
const std::string_view codeql::programName = "autobuilder";
|
||||
|
||||
constexpr codeql::SwiftDiagnostic noProjectFound{"no-project-found",
|
||||
"No Xcode project or workspace found",
|
||||
"Set up a [manual build command][1].\n"
|
||||
"\n[1]: " MANUAL_BUILD_COMMAND_HELP_LINK};
|
||||
constexpr codeql::SwiftDiagnostic noProjectFound{
|
||||
.id = "no-project-found",
|
||||
.name = "No Xcode project or workspace found",
|
||||
.action = "Set up a [manual build command][1].\n\n[1]: " MANUAL_BUILD_COMMAND_HELP_LINK};
|
||||
|
||||
constexpr codeql::SwiftDiagnostic noSwiftTarget{
|
||||
"no-swift-target", "No Swift compilation target found",
|
||||
"To analyze a custom set of source files, set up a [manual build command][1].\n"
|
||||
"\n[1]: " MANUAL_BUILD_COMMAND_HELP_LINK};
|
||||
.id = "no-swift-target",
|
||||
.name = "No Swift compilation target found",
|
||||
.action = "To analyze a custom set of source files, set up a [manual build "
|
||||
"command][1].\n\n[1]: " MANUAL_BUILD_COMMAND_HELP_LINK};
|
||||
|
||||
constexpr codeql::SwiftDiagnostic spmNotSupported{
|
||||
"spm-not-supported", "Swift Package Manager is not supported",
|
||||
"Swift Package Manager builds are not currently supported by `autobuild`. Set up a [manual "
|
||||
"build command][1].\n"
|
||||
"\n[1]: " MANUAL_BUILD_COMMAND_HELP_LINK};
|
||||
.id = "spm-not-supported",
|
||||
.name = "Swift Package Manager is not supported",
|
||||
.action = "Swift Package Manager builds are not currently supported by `autobuild`. Set up a "
|
||||
"[manual build command][1].\n\n[1]: " MANUAL_BUILD_COMMAND_HELP_LINK};
|
||||
|
||||
static codeql::Logger& logger() {
|
||||
static codeql::Logger ret{"main"};
|
||||
|
||||
Reference in New Issue
Block a user