summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorLiming Liu <gangliugangliu.ml@outlook.com>2023-01-06 05:56:25 -0800
committerErich Keane <erich.keane@intel.com>2023-01-06 05:56:25 -0800
commit051cc460ba9117c9f62c09235bdf6f5ae1248dd4 (patch)
tree3a6f3fa56607bd6ed452029c35021a5fbe4da96f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentb7ef63af566287c724d8883bcf715cb156a0c73f (diff)
[C++20] Determine the dependency of unevaluated lambdas more accurately
During template instantiation, the instantiator will enter constant evaluated context before instantiate a template argument originated from an expression, and this impedes the instantiator from creating lambdas with independent types. This patch solves the problem via widening the condition that the instantiator marks lambdas as never dependent, and fixes the issue #57960 Differential Revision: https://reviews.llvm.org/D140554
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions