[SourceKit] Remove dependency of SwiftLang on Core

This commit is contained in:
Brian Croom
2016-06-21 14:23:07 -04:00
parent 67edb44990
commit fac744067c
8 changed files with 43 additions and 10 deletions

View File

@@ -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: