https://github.com/stefanp-ibm commented: I think this makes sense to me overall. Thank you for adding the tests for C++ as well! I only had a couple of comments about this patch. https://github.com/llvm/llvm-project/pull/67299