https://github.com/arichardson approved this pull request. I don't feel I'm the right person to approve this change since I have not worked on or used the C API, but it does look good to me https://github.com/llvm/llvm-project/pull/163979