https://github.com/necto approved this pull request. Given that this PR closes #148988, I think it will make it more clear to include the code snippet from the issue verbatim https://github.com/llvm/llvm-project/pull/148988