mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] In CursorInfo response, include the mangle name of the type of the underlying decl.
The mangled name of the type is identical to those for debugger. These mangled names allow us to reconstruct the type from AST and generate interface specifically for that type. Related rdar://27306890
This commit is contained in:
@@ -697,6 +697,10 @@ bool SwiftLangSupport::printUSR(const ValueDecl *D, llvm::raw_ostream &OS) {
|
||||
return ide::printDeclUSR(D, OS);
|
||||
}
|
||||
|
||||
bool SwiftLangSupport::printDeclTypeUSR(const ValueDecl *D, llvm::raw_ostream &OS) {
|
||||
return ide::printDeclTypeUSR(D, OS);
|
||||
}
|
||||
|
||||
bool SwiftLangSupport::printAccessorUSR(const AbstractStorageDecl *D,
|
||||
AccessorKind AccKind,
|
||||
llvm::raw_ostream &OS) {
|
||||
|
||||
Reference in New Issue
Block a user