mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit] Ignore the '__raw_doc_comment' attribute, which is more of an implementation detail.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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: [
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user