[SourceKit] Ignore the '__raw_doc_comment' attribute, which is more of an implementation detail.

This commit is contained in:
Argyrios Kyrtzidis
2016-05-05 16:39:55 -07:00
parent af21c7d4b1
commit c78f1699cc
4 changed files with 4 additions and 31 deletions

View File

@@ -78,12 +78,7 @@
key.length: 36,
key.typename: "myArray",
key.nameoffset: 229,
key.namelength: 7,
key.attributes: [
{
key.attribute: source.decl.attribute.__raw_doc_comment
}
]
key.namelength: 7
},
{
key.kind: source.lang.swift.expr.array,

View File

@@ -381,11 +381,6 @@
key.namelength: 11,
key.bodyoffset: 654,
key.bodylength: 186,
key.attributes: [
{
key.attribute: source.decl.attribute.__raw_doc_comment
}
],
key.substructure: [
{
key.kind: source.lang.swift.syntaxtype.comment.mark,
@@ -404,11 +399,6 @@
key.namelength: 16,
key.bodyoffset: 713,
key.bodylength: 125,
key.attributes: [
{
key.attribute: source.decl.attribute.__raw_doc_comment
}
],
key.substructure: [
{
key.kind: source.lang.swift.decl.var.parameter,
@@ -552,12 +542,7 @@
key.length: 15,
key.typename: "Qtys",
key.nameoffset: 1040,
key.namelength: 4,
key.attributes: [
{
key.attribute: source.decl.attribute.__raw_doc_comment
}
]
key.namelength: 4
},
{
key.kind: source.lang.swift.decl.function.free,
@@ -902,9 +887,6 @@
key.attributes: [
{
key.attribute: source.decl.attribute.objc
},
{
key.attribute: source.decl.attribute.__raw_doc_comment
}
],
key.elements: [

View File

@@ -11,12 +11,7 @@
key.length: 65,
key.typename: "S",
key.nameoffset: 148,
key.namelength: 5,
key.attributes: [
{
key.attribute: source.decl.attribute.__raw_doc_comment
}
]
key.namelength: 5
},
{
key.kind: source.lang.swift.expr.object_literal,

View File

@@ -656,6 +656,7 @@ std::vector<UIdent> SwiftLangSupport::UIDsFromDeclAttributes(const DeclAttribute
case DAK_SetterAccessibility:
// Ignore these.
case DAK_ShowInInterface:
case DAK_RawDocComment:
continue;
default:
break;