mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This removes some of the typed pointer cutouts in IRGen. LLVM has removed the typed pointers, so `LLVMContext.setOpaquePointers` doesn't make sense. Clang doesn't have opaque pointers either. Also removing defunct assertions in IRGen were checking pointer-type information. With llvm moving to opaque pointer types, these functions are no longer returning useful information and are deprecated. Specifically - `isOpaqueOrPointeeTypeMatches` always returns true - `supportsTypedPointers()` always returns false - `getNonOpaquePointerElementType()->isFunctionTy()` will never get hit
6.7 KiB
6.7 KiB