summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorYounan Zhang <zyn7109@gmail.com>2024-02-13 13:34:27 +0800
committerGitHub <noreply@github.com>2024-02-13 13:34:27 +0800
commitb56b3d75b04cda762ac8e15b7ec6fa4f52a6735a (patch)
treecbffb821d2ff85cd1442211150e896b1b74fe8a9 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentbc8910d272e3f9ed58b21af2e7c7a9125e4b25ea (diff)
[Clang][Sema] Don't consider top-level cv-qualifiers in template partial orderings (#81449)
This fixes a regression since https://github.com/llvm/llvm-project/commit/340eac01f7dad6c24cee35dd35f2484098dd6b1a, from which we compared function parameter types with cv-qualifiers taken into account. However, as per [dcl.fct]/p5: > After producing the list of parameter types, any top-level cv-qualifiers modifying > a parameter type are deleted when forming the function type. Thus, I think we should use `hasSameUnqualifiedType` for type comparison. This fixes https://github.com/llvm/llvm-project/issues/75404.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions