Commit Graph

15 Commits

Author SHA1 Message Date
Michael Gottesman
904301a6a0 Make two IDE tests only run on macosx. Argyrios is going to fix them after the merge. 2016-02-06 11:22:28 -08:00
Argyrios Kyrtzidis
729a1c89b5 [test] Split an OSX-specific invocation to its own file and make sure to use the mock SDK for a sourcekit test.
rdar://24263618
2016-01-20 20:26:19 -08:00
Xi Ge
8cc155c9e0 [ObjcHeaderPrint] When initializing CompilerInvocation with clang tuples, update i386 to x86_64 so that Stdlib is available. rdar://22978765
Swift SVN r32709
2015-10-15 19:19:15 +00:00
Argyrios Kyrtzidis
c8acc85ef7 [test] Try fixing test/IDE/print_clang_header.swift for the iOS bots by passing the right clang architecture and platform version.
rdar://22122556

Swift SVN r30965
2015-08-03 23:56:55 +00:00
Argyrios Kyrtzidis
b3dd0fa461 [IDE] When doing ObjC header interface printing, make sure to handle -include properly.
rdar://20893507

Swift SVN r30939
2015-08-03 02:12:14 +00:00
Argyrios Kyrtzidis
9917e74533 [IDE] Support printing the header interface for a header, that belongs to a clang module
that the clang invocation is importing.

Fully addresses rdar://21067984

Swift SVN r28962
2015-05-23 08:14:59 +00:00
Argyrios Kyrtzidis
054ebaaa3c [IDE] Handle properly the clang flag '-fmodule-implementation-of' when doing header interface printing.
Part of rdar://21067984

Swift SVN r28961
2015-05-23 08:14:57 +00:00
Argyrios Kyrtzidis
42cc79b27a [test] Move inputs for test/IDE/print_clang_header.swift to their own subdirectory. NFC.
Swift SVN r28960
2015-05-23 08:14:54 +00:00
Graham Batty
2207f6582d Minor flag changes to tests for linux compat.
Swift SVN r28417
2015-05-11 16:06:09 +00:00
Argyrios Kyrtzidis
f000fcd383 [IDE] For header interface printing, include macros and module imports.
Swift SVN r28413
2015-05-11 06:48:28 +00:00
Argyrios Kyrtzidis
3df7a35683 [IDE] Speed up header interface printing.
Instead of importing everything and filtering later (so all of clang modules get deserialized and associated Swift decls get created),
lazily import as Swift decls only the Clang decls that we need from a particular header.

This also fixes printing ObjC categories in the header as Swift extensions.

Swift SVN r28358
2015-05-09 02:03:51 +00:00
Ted Kremenek
a6bf5f919f Revert "[test] Use '-target' for cc args as well."
This is breaking the iOS bots.

Swift SVN r28215
2015-05-06 20:00:53 +00:00
Argyrios Kyrtzidis
2b8b244b86 [test] Use '-target' for cc args as well.
Swift SVN r28206
2015-05-06 17:03:48 +00:00
Argyrios Kyrtzidis
0de049b6b6 [test/IDE] Fix the test for non-osx targets.
rdar://20828828

Swift SVN r28198
2015-05-06 04:44:10 +00:00
Argyrios Kyrtzidis
a586753f0f [IDE] Implement generating the Swift interface for an C/ObjC header
This translates clang arguments to swift ones, uses the bridging header
functionality to parse the provided file, and re-uses part of the module interface
printing implementation to print an interface for the header.

Part of rdar://19939192

Swift SVN r28062
2015-05-02 01:17:45 +00:00