Swift: fix autobuilder extern definition

This commit is contained in:
Paolo Tranquilli 2023-05-09 09:38:46 +02:00
Родитель 8079af7ed6
Коммит 182a155ff2
2 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -2,10 +2,6 @@
#include "swift/logging/SwiftLogging.h"
namespace codeql {
constexpr const std::string_view programName = "autobuilder";
}
namespace codeql_diagnostics {
constexpr codeql::SwiftDiagnosticsSource build_command_failed{
"build_command_failed",

Просмотреть файл

@ -4,10 +4,13 @@
#include "swift/xcode-autobuilder/XcodeTarget.h"
#include "swift/xcode-autobuilder/XcodeBuildRunner.h"
#include "swift/xcode-autobuilder/XcodeProjectParser.h"
#include "swift/xcode-autobuilder/XcodeBuildLogging.h"
static const char* Application = "com.apple.product-type.application";
static const char* Framework = "com.apple.product-type.framework";
const std::string_view codeql::programName = "autobuilder";
struct CLIArgs {
std::string workingDir;
bool dryRun;