Commit Graph

3 Commits

Author SHA1 Message Date
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
Slava Pestov
21dd1f7629 Sema: Tighten up rules for unavailable requirements in conformance checking
Muffle the diagnostic if the witness is in a different DeclContext than the
conformance.

Also, don't complain about the witness not being @objc if the requirement
is unavailable.

Finishes up <rdar://problem/26183366>.
2016-05-12 18:27:35 -07:00
Slava Pestov
3bc64f37b8 Sema: Re-purpose unavailable override checking code for protocol conformances
This was easy with a bit of refactoring, but eventually I'd love to
converge override checking and witness checking logic a bit more.

Fixes <rdar://26183366>.
2016-05-11 22:51:32 -07:00