[SourceKit] DocInfo: Update the UIdent for synthesized extensions to respect the synthesized targets instead of the original extended types.

This commit is contained in:
Xi Ge
2016-03-31 18:11:14 -07:00
parent 7cb49d7f4b
commit 8afcf65fa2
5 changed files with 41 additions and 21 deletions

View File

@@ -231,6 +231,7 @@ public:
static SourceKit::UIdent getUIDForDecl(const swift::Decl *D,
bool IsRef = false);
static SourceKit::UIdent getUIDForExtensionOfDecl(const swift::Decl *D);
static SourceKit::UIdent getUIDForLocalVar(bool IsRef = false);
static SourceKit::UIdent getUIDForCodeCompletionDeclKind(
swift::ide::CodeCompletionDeclKind Kind, bool IsRef = false);