[ConstraintSystem] Add new conversion kind - ArrayToCPointer

It's `ArrayToPointer` conversion that has PointerToCPointer
semantics for (un-)signed integer element types.
This commit is contained in:
Pavel Yaskevich
2023-03-09 11:04:50 -08:00
parent ad24fe1d44
commit 438ee330f1
6 changed files with 12 additions and 2 deletions

View File

@@ -282,6 +282,8 @@ enum class ConversionRestrictionKind {
InoutToCPointer,
/// Array-to-pointer conversion.
ArrayToPointer,
/// Converting from array to a C pointer has `PointerToCPointer` semantics.
ArrayToCPointer,
/// String-to-pointer conversion.
StringToPointer,
/// Pointer-to-pointer conversion.