diff options
| author | Yu Hao <hyhyhaoyu@gmail.com> | 2025-10-30 20:18:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-31 03:18:08 +0000 |
| commit | 067e20506901d10166235b20f70344310bf716e8 (patch) | |
| tree | befc512df03753a5d7c3a3fa3196dfb89dafd9e2 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
| parent | e65d52ab5ab9e58a3b6d3bce470c04f2db2cd078 (diff) | |
| download | llvm-067e20506901d10166235b20f70344310bf716e8.zip llvm-067e20506901d10166235b20f70344310bf716e8.tar.gz llvm-067e20506901d10166235b20f70344310bf716e8.tar.bz2 | |
[clang][transformer] Change `name` range-selector to return `Error` instead of an invalid range. (#164715)
Previously, when the text in selected range was different from the
decl's name, `name` returned an invalid range, which could cause crashes
if `name` was nested in other range selectors that assumed always valid
ranges. With this change, `name` returns an `Error` if it can't get the
range.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
