Erik Eckstein
598644fb92
Swift Bridging: use C++ instead of C bridging for the bridged witness table classes
2023-03-21 15:33:09 +01:00
Egor Zhdan
94ec683ba5
Revert "Revert "[cxx-interop][SwiftCompilerSources] Use C++ enums directly from Swift""
...
This reverts commit 69431f00
2022-10-18 18:55:57 +01:00
Erik Eckstein
aea26bbc6e
Swift SIL: add a utility protocol NoReflectionChildren for better debug output with lldb po
...
Let's lldb's `po` command not print any "internal" properties of the conforming type.
This is useful if the `description` already contains all the information of a type instance.
2022-10-05 07:37:41 +02:00
eeckstein
69431f00e8
Revert "[cxx-interop][SwiftCompilerSources] Use C++ enums directly from Swift"
2022-09-22 11:45:41 +02:00
Egor Zhdan
5f2a641513
[cxx-interop][SwiftCompilerSources] Use swift::SILWitnessTable::WitnessKind instead of `
...
SILWitnessTableEntryKind`
rdar://83361087
2022-09-20 12:03:48 +01:00
Erik Eckstein
4554939dc4
SwiftCompilerSources: consistently use assert instead of precondition
...
It's better to use the new assert implementation (defined in the "Basic" module) than Swift's `precondition`
2022-09-14 14:16:26 +02:00
Erik Eckstein
2745565a83
Swift SIL: correctly bridge "invalid" witness table entries.
...
Originally, I thought that couldn't appear in valid SIL, but there are "no_default" entries in default witness tables, which map to "invalid" entries.
2022-08-26 18:00:11 +02:00
Erik Eckstein
fbb694bcde
Swift SIL: add bridging for witness and default witness tables
2022-08-24 17:55:02 +02:00