Commit Graph

11 Commits

Author SHA1 Message Date
Arnold Schwaighofer
6eca97add6 Codesign test/Interpreter 2018-08-10 06:58:40 -07:00
John McCall
d10239313f Reference runtime-only ObjC classes with bare strings.
As part of this, rename TypeMetadataRecordKind to TypeReferenceKind
and consistently give it three bits of storage.

The better modelling of these type references appears to have been
sufficient to make dynamic conformance checks succeed, which is good
but unexpected.
2018-07-27 22:55:22 -04:00
Kuba Mracek
8b0ae9e651 Fix the temp-objc_runtime_visible.swift to work with when building swift against a non-default toolchain 2018-01-15 15:51:42 -08:00
Slava Pestov
d8b008b17c tests: add a %target-codesign substitution 2017-09-05 18:27:44 -07:00
Dmitri Gribenko
486cab447d tests: replace 'rm -rf %t && mkdir -p %t' with '%empty-directory(%t)'
These changes were made using a script.
2017-06-04 11:08:39 -07:00
Dmitri Gribenko
c9041beea3 Migrate callsites from 'expectNotEmpty()' to 'expectNotNil()' 2016-09-10 20:05:43 -07:00
Dmitri Gribenko
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -07:00
Luke Larson
4c421c5fd9 Ad-hoc sign stdlib dylibs
rdar://problem/27432896
2016-07-28 16:13:23 -07:00
Jordan Rose
945b6c4453 [test] Further tweaks to objc_runtime_visible.swift.
Speculative fix for Apple-internal bots.
2016-07-01 15:21:11 -07:00
Jordan Rose
0f5156a857 [test] Avoid linking arclite in objc_runtime_visible.swift's helper.
We don't always manage to symlink it in the right place for now.
Speculative fix to get tests passing again.
2016-06-30 15:40:20 -07:00
Jordan Rose
3b6e40c030 Use ClassDecl::ForeignKind to model Clang's objc_runtime_visible.
We're now correctly checking for inheritance, adding @objc methods,
and adding @objc protocols for both CF types and objc_runtime_visible
classes (those without visible symbols). The latter is used for some
of the types in Dispatch, which has exposed some of the classes that
were considered implementation details on past OSs.

We still don't properly implement using 'as?' to check conformance to
a Swift protocol for a CF or objc_runtime_visible type, but we can do
that later.

rdar://problem/26850367
2016-06-30 11:20:58 -07:00