mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update SourceKit for getInterfaceType() changes
This commit is contained in:
@@ -778,11 +778,11 @@ static bool passCursorInfoForDecl(SourceFile* SF,
|
||||
unsigned USREnd = SS.size();
|
||||
|
||||
unsigned TypenameBegin = SS.size();
|
||||
if (VD->hasInterfaceType()) {
|
||||
if (auto vdType = VD->getInterfaceType()) {
|
||||
llvm::raw_svector_ostream OS(SS);
|
||||
PrintOptions Options;
|
||||
Options.PrintTypeAliasUnderlyingType = true;
|
||||
VD->getInterfaceType().print(OS, Options);
|
||||
vdType.print(OS, Options);
|
||||
}
|
||||
unsigned TypenameEnd = SS.size();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user