[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:
Ben Langmuir
2016-02-25 08:48:22 -08:00
parent 394b731e01
commit 86bc29cfc6
5 changed files with 85 additions and 19 deletions

View File

@@ -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);
}