keepyixiao wrote: Thanks for the suggestions. I’ve updated the diagnostic location and added both requested test cases. Could you please take another look? @eugeneepshteyn https://github.com/llvm/llvm-project/pull/219696