Commit c9785d9
committed
[SourceKit] Stop printing normal comments in clang generated interface
Generated interfaces for Clang modules used to try printing normal
comments between decls extracted from the header text. That was because
doc-comment was not common in C/ObjC headers. But mainly because of
"import as member feature" Clang decls aren't printed in the order as
they appear in the header file, the logic determinig which comment
belongs to which decl was not working property. We've decided to remove
that feature and only print the proper doc-comments as it has been
getting common.
rdar://937312871 parent 5d6ce70 commit c9785d9
File tree
30 files changed
+2297
-3179
lines changed- include/swift/AST
- lib
- AST
- IDE
- test
- APINotes
- ClangImporter
- IDE
- Inputs/print_clang_header
- SourceKit
- CursorInfo
- InterfaceGen
- tools/swift-ide-test
30 files changed
+2297
-3179
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | 505 | | |
509 | 506 | | |
510 | 507 | | |
| |||
645 | 642 | | |
646 | 643 | | |
647 | 644 | | |
648 | | - | |
649 | 645 | | |
650 | 646 | | |
651 | 647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1138 | 1138 | | |
1139 | 1139 | | |
1140 | 1140 | | |
1141 | | - | |
1142 | | - | |
1143 | | - | |
| 1141 | + | |
1144 | 1142 | | |
1145 | 1143 | | |
1146 | 1144 | | |
| |||
1150 | 1148 | | |
1151 | 1149 | | |
1152 | 1150 | | |
1153 | | - | |
1154 | 1151 | | |
1155 | 1152 | | |
1156 | 1153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | 121 | | |
123 | 122 | | |
124 | 123 | | |
| |||
0 commit comments