[SourceKit] Add decl.var.type tags in property declarations

These Type::print can just reuse the printTypeLoc logic even if they
don't have a TypeRepr.

rdar://problem/24292226
This commit is contained in:
Ben Langmuir
2016-03-01 16:28:16 -08:00
parent da77ba5e68
commit 8955cdc644
6 changed files with 65 additions and 76 deletions

View File

@@ -178,6 +178,8 @@ private:
switch (D->getKind()) {
case DeclKind::Param:
return "decl.var.parameter.type";
case DeclKind::Var:
return "decl.var.type";
case DeclKind::Subscript:
case DeclKind::Func:
return "decl.function.returntype";