Takashiidobe wrote: I've cleaned up the code a bit (less indirection in `getErrorLoc` so it falls back to the default location gracefully if it doesn't need to use the minus sign's location to generate the caret). https://github.com/llvm/llvm-project/pull/190460