Commit Graph

73 Commits

Author SHA1 Message Date
Manu
02b5fa2c8e Fix some typos in the codebase 2023-08-31 18:50:10 -03:00
pancake
e9126ccefd Fix typo in CppInteroperabilityContributorGuide.md 2023-08-25 22:06:13 +02:00
Alex Lorenz
5dc5f497a0 [cxx-interop][docs] add a contributor guide 2023-07-25 16:47:42 -07:00
Zoe Carver
4fe20a82a0 Merge pull request #66472 from apple/zoecarver-patch-2
Add link to Swift.org documentation in UserManual.md
2023-06-08 21:28:04 -07:00
Zoe Carver
3c819c3af1 Merge pull request #66467 from apple/zoecarver-patch-1
Add link to Swift.org documentation in UserGuide-CallingSwiftFromC++.md
2023-06-08 17:47:16 -07:00
Zoe Carver
292e2883f6 Merge pull request #66468 from apple/zoecarver-patch-3
Add link to Swift.org documentation in  InteropOddities.md
2023-06-08 17:47:07 -07:00
Zoe Carver
912e1efdc8 Merge pull request #66469 from apple/zoecarver-patch-4
Add link to Swift.org documentation in GettingStartedWithC++Interop.md
2023-06-08 17:46:58 -07:00
Zoe Carver
a4f760030f Merge pull request #66470 from apple/zoecarver-patch-5
Add link to Swift.org status page in CppInteroperabilityStatus.md
2023-06-08 17:27:11 -07:00
Zoe Carver
c2361ba7a6 Add link to Swift.org documentation in CppInteroperabilityManifesto.md; update the link to the Forward Vision document. 2023-06-08 14:10:51 -07:00
Zoe Carver
250d7d2ec0 Add link to Swift.org status page in CppInteroperabilityStatus.md 2023-06-08 14:09:00 -07:00
Zoe Carver
1317c928c6 Add link to Swift.org documentation in GettingStartedWithC++Interop.md 2023-06-08 14:07:40 -07:00
Zoe Carver
67afcbded5 Add link to Swift.org documentation in InteropOddities.md 2023-06-08 14:07:24 -07:00
Zoe Carver
7543ad4267 Add link to Swift.org documentation in UserManual.md 2023-06-08 14:07:09 -07:00
Zoe Carver
2ab1707860 Add link to Swift.org documentation in UserGuide-CallingSwiftFromC++.md 2023-06-08 14:06:41 -07:00
Alex Lorenz
00181138fd [interop] support 'default' mode for '-cxx-interoperability-mode' option
Default corresponds to the Swift language version used to compile the input. Swift-5.9 is still supported for now, but will be removed shortly
2023-04-04 15:35:48 -07:00
Zoe Carver
34da940cc3 Follow up from #64088: compatibility -> interoperability 2023-03-08 08:57:45 -08:00
zoecarver
7a5136185d [cxx-interop] Rebase fallout: replace a few instances of swift-5.7 with swift-5.9. 2023-03-07 13:30:29 -08:00
zoecarver
dcd83a807f [nfc][cxx-interop] Rename cxx-compatibility-mode -> cxx-interoperability-mode. 2023-03-07 10:23:19 -08:00
zoecarver
b64b52ae83 [cxx-interop] Add -cxx-compatibility-mode driver flag; deprecate -enable-experimental-cxx-interop. 2023-03-07 10:22:57 -08:00
Zoe Carver
9c584d89b7 Merge pull request #62953 from apple/zoecarver-patch-1
Update GettingStartedWithC++Interop.md
2023-02-27 15:30:41 -08:00
Egor Zhdan
8bf3f0f638 [cxx-interop][docs] Update the C++ stdlib module name
The C++ standard library module was renamed from `std` to `CxxStdlib` in the context of Swift.

Also use a top-level module name (`CxxStdlib`) instead of a submodule name, since libstdc++ is not currently split into submodules.
2023-02-01 16:16:25 +00:00
Zoe Carver
091dd51961 [docs] Add warning to CppInteroperabilityManifesto. (#63025) 2023-01-13 11:43:53 -08:00
Zoe Carver
05d44b128f Update GettingStartedWithC++Interop.md 2023-01-10 17:33:04 -08:00
Chris White
f028016349 Fix two documentation links that weren't working 2022-12-29 18:25:07 +00:00
Alex Lorenz
91f7ea1ced Merge pull request #62413 from hyp/eng/uncaught-exc-ub-docs
[interop][docs] Clarify in the interop status that uncaught exception…
2022-12-06 07:28:29 -08:00
Alex Lorenz
548f59aa03 [interop][docs] Clarify in the interop status that uncaught exceptions are UB 2022-12-05 15:29:40 -08:00
Alex Lorenz
d6e83587b8 [docs][interop] give a more specific example of how to use import_reference to import an FRT into Swift 2022-12-05 15:18:50 -08:00
Alex Lorenz
8336edd344 [interop][SwiftToCxx] add support for constructing generic enum cases in C++
We only support cases with no payload, or one associated value still
2022-11-03 12:21:27 -07:00
Alex Lorenz
ac3dc6a579 [interop][SwiftToCxx] clarify Swift to C++ status doc
More clarification for the status doc.
2022-10-07 15:04:12 -07:00
Alex Lorenz
407e8a6b1c [interop][SwiftToCxx] update status doc for class init support
Class initializers are supported.
Also mention that methods aren't virtual ATM.
2022-10-07 09:05:07 -07:00
Egor Zhdan
e8ae3f7100 [cxx-interop][docs] Update getting started guide
* Do not use `Cxx` as a user module name, since we now ship a built-in module called `Cxx`.
* Describe creating an Xcode target that builds the C++ module.
* Do not provide libc++ include paths manually to the Swift compiler, Swift should detect the C++ stdlib automatically.
2022-09-29 18:47:15 +01:00
swift-ci
f49c2f1cd9 Merge pull request #61308 from hyp/eng/raw-enum-test
[interop][SwiftToCxx] NFC, add a test for raw representable enum
2022-09-26 22:03:26 -07:00
Alex Lorenz
717c29992d [interop][SwiftToCxx] NFC, add a test for raw representable enum 2022-09-26 19:37:27 -07:00
Alex Lorenz
fd936c5025 [interop][SwiftToCxx] update status doc for static property support 2022-09-26 18:08:14 -07:00
Alex Lorenz
b04fd155b9 [interop][docs] update status page for recent generic enum, Array and Optional changes 2022-09-22 20:57:58 -07:00
Alex Lorenz
0914496c86 [cxx-interop] update status docs for reverse experimental String and Array support 2022-09-09 09:33:25 -07:00
Alex Lorenz
8b4b397257 [cxx-interop] update status docs for generics reverse support and enum members 2022-09-09 09:30:43 -07:00
Tongjie Wang
5a55cd7ba2 [Interop][SwiftToCxx] Support printing methods and properties for enums 2022-09-08 11:05:20 -07:00
Alex Lorenz
64b90e8245 [interop][SwiftToCxx] docs: add section on converting Swift's String to NSString * 2022-08-25 15:25:46 -07:00
a4z
f96bfb2914 Adopt Cxx header/implementation in example
* Fix header/implemenation content in C++ code listning
* Minor whitespace fix in caption
2022-08-22 20:21:04 +02:00
Tongjie Wang
482e1ac80f [Interop][SwiftToCxx] Implement the new enum header design 2022-08-15 15:31:43 -07:00
Alex Lorenz
f212db5ad5 [interop][SwiftToCxx] docs, fixup UInt mapping for C++ 2022-08-11 21:23:46 -07:00
Alex Lorenz
a654e66f06 [interop][SwiftToCxx] update disclaimer for reverse inteorp user guide 2022-08-11 21:23:27 -07:00
Alex Lorenz
0308404a8a [interop][SwiftToCxx] update reverse interop user guide for new enum design 2022-08-11 21:20:48 -07:00
Alex Lorenz
74d47a1651 [interop][SwiftToCxx] update swift type representation docs with different opaque type layout 2022-08-09 11:55:28 -07:00
Alex Lorenz
b8c61e1aed Merge pull request #60446 from hyp/eng/SwiftTypeRepresentationInCxx
[interop][SwiftToCxx] docs: add SwiftTypeRepresentationInC++ document
2022-08-08 13:20:25 -07:00
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