This is an archive of the discontinued LLVM Phabricator instance.

Make array pointers in the CAPI const
ClosedPublic

Authored by GeorgeLyon on Nov 18 2020, 1:18 PM.

Details

Summary

These pointers do not need to be mutable. This has an affect that generated function signatures in the Swift bindings now use UnsafePointer instead of UnsafeMutablePointer.

Diff Detail