aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorYu Hao <hyhyhaoyu@gmail.com>2025-10-30 20:18:08 -0700
committerGitHub <noreply@github.com>2025-10-31 03:18:08 +0000
commit067e20506901d10166235b20f70344310bf716e8 (patch)
treebefc512df03753a5d7c3a3fa3196dfb89dafd9e2 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parente65d52ab5ab9e58a3b6d3bce470c04f2db2cd078 (diff)
downloadllvm-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/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions