mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SourceKit] Remove dependency of SwiftLang on Core
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "SourceKit/Core/LangSupport.h"
|
||||
#include "SourceKit/Core/NotificationCenter.h"
|
||||
#include "SourceKit/Support/Concurrency.h"
|
||||
#include "SourceKit/SwiftLang/Factory.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "gtest/gtest.h"
|
||||
@@ -94,7 +95,7 @@ struct TestCursorInfo {
|
||||
};
|
||||
|
||||
class CursorInfoTest : public ::testing::Test {
|
||||
SourceKit::Context Ctx{ getRuntimeLibPath() };
|
||||
SourceKit::Context Ctx{ getRuntimeLibPath(), SourceKit::createSwiftLangSupport };
|
||||
std::atomic<int> NumTasks;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user