File tree Expand file tree Collapse file tree 6 files changed +19
-0
lines changed Expand file tree Collapse file tree 6 files changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ /// Comment in File1
2
+ public func FuncFromFile1( ) { }
Original file line number Diff line number Diff line change
1
+ /// Comment in File2
2
+ public func FuncFromFile2( ) { }
Original file line number Diff line number Diff line change
1
+ /// Comment in File3
2
+ public func FuncFromFile3( ) { }
Original file line number Diff line number Diff line change
1
+ /// Comment in File4
2
+ public func FuncFromFile4( ) { }
Original file line number Diff line number Diff line change
1
+ /// Comment in File5
2
+ public func FuncFromFile5( ) { }
Original file line number Diff line number Diff line change
1
+ // RUN: %empty-directory(%t)
2
+ // RUN: %target-swift-frontend -enable-batch-mode -emit-module -emit-module-doc -emit-module-path %t/Foo.swiftmodule %S/Inputs/comments-batch/File1.swift %S/Inputs/comments-batch/File2.swift %S/Inputs/comments-batch/File3.swift %S/Inputs/comments-batch/File4.swift %S/Inputs/comments-batch/File5.swift -module-name Foo -emit-module-source-info-path %t/Foo.swiftsourceinfo -emit-module-doc-path %t/Foo.swiftdoc
3
+ // RUN: %target-swift-ide-test -print-module-comments -module-to-print=Foo -source-filename %s -I %t | %FileCheck %s -check-prefix=FIRST
4
+
5
+ // FIRST: Inputs/comments-batch/File1.swift:2:13: Func/FuncFromFile1 RawComment=[/// Comment in File1\n]
6
+ // FIRST: Inputs/comments-batch/File2.swift:2:13: Func/FuncFromFile2 RawComment=[/// Comment in File2\n]
7
+ // FIRST: Inputs/comments-batch/File3.swift:2:13: Func/FuncFromFile3 RawComment=[/// Comment in File3\n]
8
+ // FIRST: Inputs/comments-batch/File4.swift:2:13: Func/FuncFromFile4 RawComment=[/// Comment in File4\n]
9
+ // FIRST: Inputs/comments-batch/File5.swift:2:13: Func/FuncFromFile5 RawComment=[/// Comment in File5\n]
You can’t perform that action at this time.
0 commit comments