https://github.com/NeKon69 commented: The logic looks solid, though since I am not very familiar with this part of code I think we might want some confirmation from clang maintainers. Also, I am not sure how to add tests for new API? https://github.com/llvm/llvm-project/pull/212934