[clang][Diagnostics] Fix diagnostic line numbers
The first line of the code snippet we print is potentially lower than the caret line, so handle that case. Fixes #63524 Differential Revision: https://reviews.llvm.org/D153849
Loading
Please sign in to comment