mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
`llvm::ArrayRef<T>` does not define `erase`. However, since the intent here is to remove the last n elements, we can use `drop_back` instead. Furthermore, replace the direct use of `Layout` with `getLayout()`. This was identified by gcc 8.2.
6.7 KiB
6.7 KiB