We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 214bc77 commit d4ae4c3Copy full SHA for d4ae4c3
test/SymbolGraph/Symbols/DocComment/SkipInherited.swift
@@ -0,0 +1,19 @@
1
+// RUN: %empty-directory(%t)
2
+// RUN: %target-build-swift %s -module-name SkipInheritedDocs -emit-module-path %t/SkipInheritedDocs.swiftmodule
3
+// RUN: %target-swift-symbolgraph-extract -module-name SkipInheritedDocs -I %t -pretty-print -skip-inherited-docs -output-dir %t
4
+// RUN: %FileCheck %s --input-file %t/SkipInheritedDocs.symbols.json
5
+
6
+/// Parent docs.
7
+public protocol P1 {
8
+ /// Parent func docs.
9
+ func p2()
10
+}
11
12
+/// Child docs
13
+public class C1: P1 {
14
+ public func p2() {}
15
16
17
+// CHECK: "Parent func docs."
18
+// CHECK-NOT: "Parent func docs."
19
test/SymbolGraph/Symbols/SkipsInheritedDocs.swift
0 commit comments