diff options
author | Jorge Pinto Sousa <jorge.pinto.sousa@proton.me> | 2023-04-13 08:14:14 -0400 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2023-04-13 08:15:13 -0400 |
commit | 66202d83b5d47479ae0f8117aebb523ba7eff82d (patch) | |
tree | 0f325efe812cc99006b1e142be465731e996d657 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
parent | dfafb7fe5af3e55ff35fb5dbc685a4337af5b29c (diff) | |
download | llvm-66202d83b5d47479ae0f8117aebb523ba7eff82d.zip llvm-66202d83b5d47479ae0f8117aebb523ba7eff82d.tar.gz llvm-66202d83b5d47479ae0f8117aebb523ba7eff82d.tar.bz2 |
Make 'static assertion failed' diagnostics point to the static assertion expression
"static assertion failed" pointed to the static_assert token and
then underlined the static assertion expression:
<source>:3:1: error: static assertion failed
static_assert(false);
^ ~~~~~
1 error generated.
See Godbolt: https://godbolt.org/z/r38booz59
Now it points to and highlights the assertion expression.
Fixes https://github.com/llvm/llvm-project/issues/61951
Differential Revision: https://reviews.llvm.org/D147745
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions