[index] Move core indexing code out of SourceKit

Leaving only the SourceKit-specific code (e.g. UID generation) behind in
SourceKit.

rdar://problem/22348041
This commit is contained in:
Ben Langmuir
2016-04-13 17:04:39 -07:00
parent bfa5a1f67f
commit ad269b0e1f
12 changed files with 1256 additions and 1095 deletions

View File

@@ -37,6 +37,8 @@
using namespace SourceKit;
using namespace swift;
using namespace swift::ide;
using swift::index::SymbolKind;
using swift::index::SymbolSubKind;
static UIdent KindDeclFunctionFree("source.lang.swift.decl.function.free");
static UIdent KindRefFunctionFree("source.lang.swift.ref.function.free");