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:
Zoe Carver
2022-01-06 17:54:12 -08:00
committed by GitHub
37 changed files with 370 additions and 102 deletions

View File

@@ -269,12 +269,13 @@ enum class SILFunctionTypeRepresentation : uint8_t {
Block,
Thin,
CFunctionPointer,
FirstSIL = 8,
Method = FirstSIL,
ObjCMethod,
WitnessMethod,
Closure,
CXXMethod,
};
using SILFunctionTypeRepresentationField = BCFixed<4>;