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

@@ -4175,6 +4175,7 @@ static uint8_t getRawStableSILFunctionTypeRepresentation(
SIMPLE_CASE(SILFunctionTypeRepresentation, ObjCMethod)
SIMPLE_CASE(SILFunctionTypeRepresentation, WitnessMethod)
SIMPLE_CASE(SILFunctionTypeRepresentation, Closure)
SIMPLE_CASE(SILFunctionTypeRepresentation, CXXMethod)
}
llvm_unreachable("bad calling convention");
}