Skip to content

Commit 182a155

Browse files
committed
Swift: fix autobuilder extern definition
1 parent 8079af7 commit 182a155

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

swift/xcode-autobuilder/XcodeBuildLogging.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
#include "swift/logging/SwiftLogging.h"
44

5-
namespace codeql {
6-
constexpr const std::string_view programName = "autobuilder";
7-
}
8-
95
namespace codeql_diagnostics {
106
constexpr codeql::SwiftDiagnosticsSource build_command_failed{
117
"build_command_failed",

swift/xcode-autobuilder/xcode-autobuilder.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
#include "swift/xcode-autobuilder/XcodeTarget.h"
55
#include "swift/xcode-autobuilder/XcodeBuildRunner.h"
66
#include "swift/xcode-autobuilder/XcodeProjectParser.h"
7+
#include "swift/xcode-autobuilder/XcodeBuildLogging.h"
78

89
static const char* Application = "com.apple.product-type.application";
910
static const char* Framework = "com.apple.product-type.framework";
1011

12+
const std::string_view codeql::programName = "autobuilder";
13+
1114
struct CLIArgs {
1215
std::string workingDir;
1316
bool dryRun;

0 commit comments

Comments
 (0)