mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Swift: move logging to a common directory
This commit is contained in:
@@ -8,8 +8,8 @@ swift_cc_library(
|
||||
deps = [
|
||||
"//swift/extractor/config",
|
||||
"//swift/extractor/infra/file",
|
||||
"//swift/extractor/infra/log",
|
||||
"//swift/extractor/trap",
|
||||
"//swift/log",
|
||||
"//swift/third_party/swift-llvm-support",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "swift/extractor/infra/SwiftBodyEmissionStrategy.h"
|
||||
#include "swift/extractor/infra/SwiftMangledName.h"
|
||||
#include "swift/extractor/config/SwiftExtractorState.h"
|
||||
#include "swift/extractor/infra/log/SwiftLogging.h"
|
||||
#include "swift/log/SwiftLogging.h"
|
||||
|
||||
namespace codeql {
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "swift/extractor/invocation/SwiftInvocationExtractor.h"
|
||||
#include "swift/extractor/trap/TrapDomain.h"
|
||||
#include "swift/extractor/infra/file/Path.h"
|
||||
#include "swift/extractor/infra/log/SwiftLogging.h"
|
||||
#include "swift/log/SwiftLogging.h"
|
||||
|
||||
using namespace std::string_literals;
|
||||
|
||||
|
||||
@@ -23,7 +23,10 @@ genrule(
|
||||
"--schema=$(location //swift:schema)",
|
||||
"--script-name=codegen/codegen.py",
|
||||
]),
|
||||
exec_tools = ["//misc/codegen", "//swift:schema"],
|
||||
exec_tools = [
|
||||
"//misc/codegen",
|
||||
"//swift:schema",
|
||||
],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
@@ -49,7 +52,7 @@ swift_cc_library(
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//swift/extractor/infra/file",
|
||||
"//swift/extractor/infra/log",
|
||||
"//swift/log",
|
||||
"@absl//absl/numeric:bits",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "swift/extractor/trap/TrapLabel.h"
|
||||
#include "swift/extractor/infra/file/TargetFile.h"
|
||||
#include "swift/extractor/infra/log/SwiftLogging.h"
|
||||
#include "swift/log/SwiftLogging.h"
|
||||
#include "swift/extractor/infra/SwiftMangledName.h"
|
||||
|
||||
namespace codeql {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "swift/extractor/infra/log/SwiftLogging.h"
|
||||
#include "swift/log/SwiftLogging.h"
|
||||
|
||||
#include <filesystem>
|
||||
#include <stdlib.h>
|
||||
Reference in New Issue
Block a user