Merge pull request #81184 from Azoy/no-more-is-array-type

[AST] Rename isArrayType and split the InlineArray portion
This commit is contained in:
Alejandro Alonso
2025-05-08 20:52:51 -07:00
committed by GitHub
13 changed files with 78 additions and 38 deletions

View File

@@ -987,9 +987,13 @@ public:
/// type) from `DistributedActor`.
bool isDistributedActor();
/// Determine if the type in question is an Array<T> and, if so, provide the
/// Determine if this type is an Array<T> and, if so, provide the element type
/// of the array.
Type getArrayElementType();
/// Determine if this type is an InlineArray<n, T> and, if so, provide the
/// element type of the array.
Type isArrayType();
Type getInlineArrayElementType();
/// Determines the element type of a known
/// [Autoreleasing]Unsafe[Mutable][Raw]Pointer variant, or returns null if the