Commit Graph

7 Commits

Author SHA1 Message Date
Rintaro Ishizaki
c9785d955d [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://93731287
2024-03-21 11:52:32 +09:00
Anthony Latsis
7f6d3bcd41 ASTPrinter: Turn on explicit any printing for everything and remove the option to disable it 2023-05-13 02:55:49 +03:00
Pavel Yaskevich
add41afc47 [AST] Teach computeNominalType about nested ObjC protocols
Objective-C protocols unlike their Swift counterparts could be
nested in other types, so `computeNominalType` has to fetch a
parent for such protocols (if any) just like importer does.

Resolves: rdar://95084142
2022-06-28 12:06:26 -07:00
Robert Widmann
22f3e9620b Remap aarch64_32 to arm64_32 When Searching for Modules
The triple name aarch64_32 does not actually name a valid platform. The
actual platform (and valid triple arch string, confusingly enough) is
arm64_32. Remap between the two to correct for this difference.

rdar://77281393
2021-04-28 17:39:06 -07:00
Arnold Schwaighofer
237610e5b6 Disable ClangImporter/nested_protocol_name.swift on arm64_32
It fails on the non_executable bot.
rdar://77281393
2021-04-28 13:21:32 -07:00
Varun Gandhi
a1716fe2a6 [Diagnostics] Update compiler diagnostics to use less jargon. (#31315)
Fixes rdar://problem/62375243.
2020-04-28 14:11:39 -07:00
Robert Widmann
a72c5faac7 [ClangImporter] Commit a regression test for protocols via nested names
It's a terrible idea to support this in the long run, but in the short
term we should at least know what the compiler does in these situations.

Relates to rdar://59431058
2020-02-13 16:41:10 -08:00