diff options
author | Timm Bäder <tbaeder@redhat.com> | 2023-06-27 11:33:22 +0200 |
---|---|---|
committer | Timm Bäder <tbaeder@redhat.com> | 2023-06-30 10:57:10 +0200 |
commit | 8554a55d041f2c7de329adda538cadf7eeb6e8a8 (patch) | |
tree | 3c4fe6f4ff160e29df6cfc4daea8954dd004f753 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp | |
parent | 550fa4eabd83d133595c7a5a07d54fc029b73733 (diff) | |
download | llvm-8554a55d041f2c7de329adda538cadf7eeb6e8a8.zip llvm-8554a55d041f2c7de329adda538cadf7eeb6e8a8.tar.gz llvm-8554a55d041f2c7de329adda538cadf7eeb6e8a8.tar.bz2 |
[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
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
0 files changed, 0 insertions, 0 deletions