diff options
| author | Timm Baeder <tbaeder@redhat.com> | 2025-10-30 09:36:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-30 09:36:25 +0100 |
| commit | 67db5fd739780ebcc592d5addacee88574ac319d (patch) | |
| tree | ee01c9b877d3f86dd32eabf7c5a82190b0157650 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 98ceb458f42ed05e2c3e9fb5bc75cd6b1df7a438 (diff) | |
| download | llvm-67db5fd739780ebcc592d5addacee88574ac319d.zip llvm-67db5fd739780ebcc592d5addacee88574ac319d.tar.gz llvm-67db5fd739780ebcc592d5addacee88574ac319d.tar.bz2 | |
[clang] Add Bytes/Columns types to TextDiagnostic (#165541)
In `TextDiagnostic.cpp`, we're using column- and byte indices
everywhere, but we were using integers for them which made it hard to
know what to pass where, and what was produced. To make matters worse,
that `SourceManager` considers a "column" is a byte in `TextDiagnostic`.
Add `Bytes` and `Columns` structs, which are not related so API using
them can differentiate between values interpreted columns or bytes.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
