Commit Graph

77 Commits

Author SHA1 Message Date
Alex Lorenz
2361f9c291 [interop][SwiftToCxx] docs: add SwiftTypeRepresentationInC++ document 2022-08-08 11:18:01 -07:00
Alex Lorenz
3873603a90 [interop][SwiftToCxx] docs: update status page to reflect class support 2022-08-03 14:11:08 +01:00
Alex Lorenz
6831130060 [interop][SwiftToCxx] docs: add a user guide section on class inheritance 2022-08-03 14:00:27 +01:00
Alex Lorenz
2879a751d3 [interop][SwiftToCxx] docs, add initial user guide docs for class types and ARC 2022-08-02 11:52:26 +01:00
Alex Lorenz
783186486a [interop][docs] Add compiler requirement line to user guide for reverse interop 2022-07-28 12:25:49 +01:00
Alex Lorenz
954e89cef0 [interop][docs] cleanup CallingSwiftFromC++ guide 2022-07-28 12:25:49 +01:00
Alex Lorenz
d9969ad189 Merge pull request #60243 from hyp/eng/ifixes2
[interop][SwiftToCxx] support `is/has` property getters and fix pass/return support for `Unsafe{Mutable}Pointer` types.
2022-07-26 20:51:18 +01:00
Ben Barham
184541484f Merge pull request #60225 from bnbarham/move-cxx-interop-back-to-driver
[Options] Move CXX interop back to a driver option
2022-07-26 09:13:34 -07:00
Alex Lorenz
3b4c6bffd8 [interop][SwiftToCxx] remap bool is/has property getters directly as is/has methods in C++ 2022-07-26 14:34:40 +01:00
Alex Lorenz
62fa2a0eba [interop][docs] add language markers to some doc snippets in reverse interop user guide 2022-07-26 13:47:00 +01:00
Alex Lorenz
c5a617af8a [interop][docs] udpate CppInteroperabilityStatus.md for reverse interop 2022-07-26 13:42:46 +01:00
Ben Barham
3ac580261e [Options] Move CXX interop back to a driver option
This flag is required in the driver to eg. choose `clang` vs `clang++`
for the linker. Move it back to a driver option and hide both it and the
stdlib flag from help.
2022-07-25 15:29:14 -07:00
Alex Lorenz
a3ab0c29f7 [interop][SwiftToCxx] add initial design / user guide document for reverse interop 2022-07-22 17:47:18 +01:00
Zoe Carver
33335f968f Merge pull request #59624 from zoecarver/disable-eager-import 2022-07-19 20:32:37 -04:00
zoecarver
3498ff9765 [cxx-interop] Remove UnsafeLifetimeOperation record semantic kind.
This makes "owned" the default kind for records that have custom copy constructors and no pointer-members.
2022-07-18 17:15:15 -04:00
zoecarver
6acffbbee6 [cxx-interop] Flip the switch: only import safe APIs. 2022-07-18 17:15:15 -04:00
Anthony Latsis
09a9a613c4 docs: Migrate from SR issues to GitHub issues 2022-07-14 05:10:55 +03:00
Alex Lorenz
e155b1bd87 [docs] Update CppInteroperabilityStatus for reverse interop 2022-06-17 17:07:53 -07:00
Joseph Kato
a1a5038863 [NFC] Fix a few typos (#58739)
* typo: "an an" -> "an"

* typo: "used used" -> "used"

* typo: "template template" -> "template"

* typo: "is is" -> "it is"

* typo: "lastest" -> "latest"

* typo: "instantanious" -> "instantaneous"
2022-05-08 10:27:54 -03:00
Josh Soref
0213f2dd88 Spelling docs (#42437)
* spelling: any

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: associated

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: async

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: classes

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: clonability

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: conspicuously

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: constituent

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: constraint

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: contains

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: definition

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: digestible

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: for

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: github

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: javascript

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: manually

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: much

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: multi

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: occasionally

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: outputs

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: overriding

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: partition

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: propagation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: protocol

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: quandary

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: redundant

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: responsible

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: right

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: specifically

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: suppose

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: that

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: the

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: with

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-19 14:04:59 -07:00
zoecarver
839839f924 [cxx-interop] Rename enable-cxx-interop -> enable-experimental-cxx-interop.
Also removes the driver flag, this will now also always be guarded on `-Xfrontend`.
2022-04-07 19:15:25 -07:00
Alex Lorenz
a6bb23b628 [docs][cxx-interop] Mention no bridging for C++ standard library types 2022-04-05 15:46:26 -07:00
zoecarver
637bb90cdc [docs] Add a catch all document to record C++ interop oddities. 2022-04-01 16:32:51 -07:00
zoecarver
7d2aac6c00 [nfc][docs][cxx-interop] Add example in the status document. 2022-03-17 20:47:49 -07:00
Alex Lorenz
a023cf986b [cxx-interop] docs, fixup to c++ interop status page after review comments 2022-03-15 11:52:17 -07:00
Alex Lorenz
3a41bcdeaa [cxx-interop][docs] add a C++ interoperability status document 2022-03-14 21:01:17 -07:00
Alex Lorenz
e05b011eb0 [docs] NFC, fix typo CppInteropability -> CppInteroperability 2022-03-09 18:10:58 -08:00