Files
clang-p2996/clang/lib/Frontend/TextDiagnostic.cpp
Timm Bäder 8554a55d04 [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
2023-06-30 10:57:10 +02:00

48 KiB