mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Add type tags for parameters and return types
When the type is not just a reference to a nominal type, we still need to be able to delineate it. rdar://problem/24292226
This commit is contained in:
@@ -62,6 +62,12 @@ private:
|
||||
void printDeclNameOrSignatureEndLoc(const Decl *D) override {
|
||||
return OtherPrinter.printDeclNameOrSignatureEndLoc(D);
|
||||
}
|
||||
void printTypePre(const TypeLoc &TL) override {
|
||||
return OtherPrinter.printTypePre(TL);
|
||||
}
|
||||
void printTypePost(const TypeLoc &TL) override {
|
||||
return OtherPrinter.printTypePost(TL);
|
||||
}
|
||||
void printTypeRef(const TypeDecl *TD, Identifier Name) override {
|
||||
return OtherPrinter.printTypeRef(TD, Name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user