Commit Graph

7 Commits

Author SHA1 Message Date
Anthony Latsis
5e41794680 AST: Quote attributes more consistently in DiagnosticsSema.def 2025-04-23 19:18:08 +01:00
Dario Rexin
be3249df5b [Sema] Reject @objc functions with incompatible property wrapper in… (#61189)
* [Sema] Reject `@objc` functions with incompatible property wrapper in params

rdar://99443365

When generating `@objc` functions, the parameters were not checked for property wrapper and instead only the wrapped type was checked for compatibility. Added checks and diagnostics for incompatible property wrappers.
2022-09-20 07:12:12 -07:00
Mark Lacey
78d83e5703 Use %target-typecheck-verify-swift where possible. 2018-07-26 23:13:43 -07:00
David Farler
b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00
Doug Gregor
51529ae888 Eliminate the -enable-id-as-any flag; it's always on now anyway.
Simplify e.g., ASTContext::getBridgedToObjC(), which no longer needs
the optional return.

Eliminate the now-unused constraint kind for checking bridging to
Objective-C.
2016-08-19 21:17:09 -07:00
Joe Groff
a3325bb471 Sema: 'Any' can bridge to a class, so throws -> Any is allowed. 2016-07-25 06:40:34 -07:00
Joe Groff
7483a6ffe0 Sema: Any is representable-in-ObjC in bridged positions. 2016-07-05 12:29:49 -07:00