[index] Remove import.sourcefile kind from indexing

We don't support importing source files in source code, and they only
showed up in the index under failure conditions.
This commit is contained in:
Ben Langmuir
2016-04-28 16:11:51 -07:00
parent 7366917787
commit e977d4bd54
4 changed files with 0 additions and 29 deletions

View File

@@ -30,7 +30,6 @@ using namespace swift::index;
static UIdent KindImportModuleClang("source.lang.swift.import.module.clang");
static UIdent KindImportModuleSwift("source.lang.swift.import.module.swift");
static UIdent KindImportSourceFile("source.lang.swift.import.sourcefile");
static UIdent getUIDForDependencyKind(SymbolKind depKind) {
switch (depKind) {
@@ -38,8 +37,6 @@ static UIdent getUIDForDependencyKind(SymbolKind depKind) {
return KindImportModuleSwift;
case SymbolKind::ClangModule:
return KindImportModuleClang;
case SymbolKind::SourceFile:
return KindImportSourceFile;
default:
return UIdent();
}