summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2022-07-21 12:43:08 +0200
committerKadir Cetinkaya <kadircet@google.com>2022-07-22 14:37:13 +0200
commit4839929bed6e69346ff689ffe88750a90ebc0dfa (patch)
treecef91e56bde9cb77c4eed80b6a52f71f8e9d8995 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentdeb3b5552f04656dee27067b2cc68c906012cfe4 (diff)
[clangd] Make forwarding parameter detection logic resilient
This could crash when our heuristic picks the wrong function. Make sure there is enough parameters in the candidate to prevent those crashes. Also special case copy/move constructors to make the heuristic work in presence of those. Fixes https://github.com/llvm/llvm-project/issues/56620 Differential Revision: https://reviews.llvm.org/D130260
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions