mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #34993 from zoecarver/cxx/cxxmethod-representation
[cxx-interop] Add SIL function representation cxx_method; Support extending C++ types.
This commit is contained in:
@@ -269,12 +269,13 @@ enum class SILFunctionTypeRepresentation : uint8_t {
|
||||
Block,
|
||||
Thin,
|
||||
CFunctionPointer,
|
||||
|
||||
|
||||
FirstSIL = 8,
|
||||
Method = FirstSIL,
|
||||
ObjCMethod,
|
||||
WitnessMethod,
|
||||
Closure,
|
||||
CXXMethod,
|
||||
};
|
||||
using SILFunctionTypeRepresentationField = BCFixed<4>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user