[SourceKit] Expose ExpectedTypeRelation for the completion results

So that clients can sort the results using this.

rdar://problem/59066560
This commit is contained in:
Rintaro Ishizaki
2020-02-03 15:57:43 -08:00
parent 7934cdf9c3
commit 1e74c39956
16 changed files with 88 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import Foo
// CHECK-NEXT: key.typename: "Int32",
// CHECK-NEXT: key.doc.brief: "Aaa. fooIntVar. Bbb.",
// CHECK-NEXT: key.context: source.codecompletion.context.othermodule,
// CHECK-NEXT: key.typerelation: source.codecompletion.typerelation.unrelated,
// CHECK-NEXT: key.num_bytes_to_erase: 0,
// CHECK-NEXT: key.associated_usrs: "c:@fooIntVar",
// CHECK-NEXT: key.modulename: "Foo"