Commit Graph

8 Commits

Author SHA1 Message Date
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