mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user