aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorBalazs Benics <benicsbalazs@gmail.com>2024-05-22 17:41:31 +0200
committerGitHub <noreply@github.com>2024-05-22 17:41:31 +0200
commit919df9d75ac2a721a8072327c803f34486884571 (patch)
tree6cd950d734485b1e79d47f40910842da9e92f753 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parentc0de13b05f9905dbbc582d234214081dd410db1d (diff)
downloadllvm-919df9d75ac2a721a8072327c803f34486884571.zip
llvm-919df9d75ac2a721a8072327c803f34486884571.tar.gz
llvm-919df9d75ac2a721a8072327c803f34486884571.tar.bz2
[clang][AST] Fix end location of DeclarationNameInfo on instantiated methods (#92654)
Fixes #71161 [D64087](https://reviews.llvm.org/D64087) updated some locations of the instantiated method but forgot `DNLoc`. `FunctionDecl::getNameInfo()` constructs a `DeclarationNameInfo` using `Decl::Loc` as the beginning of the declaration name, and `FunctionDecl::DNLoc` to compute the end of the declaration name. The former was updated, but the latter was not, so `DeclarationName::getSourceRange()` would return a range where the end of the declaration name could come before its beginning. Patch by Alejandro Alvarez Ayllon Co-authored-by: steakhal CPP-5166 Co-authored-by: Alejandro Alvarez Ayllon <alejandro.alvarez@sonarsource.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions