diff options
author | Matheus Izvekov <mizvekov@gmail.com> | 2021-06-06 03:20:25 +0200 |
---|---|---|
committer | Matheus Izvekov <mizvekov@gmail.com> | 2021-06-17 02:08:31 +0200 |
commit | b88eb855b53184161ad1ea0eea1962100941cf0b (patch) | |
tree | 5f9fafa828b527675b73bc0d0574cb9ac99265e0 /lldb/source/Commands/CommandObjectGUI.cpp | |
parent | 0a07343e34fc84052e6cc54e55654412b0ed01f4 (diff) | |
download | llvm-b88eb855b53184161ad1ea0eea1962100941cf0b.zip llvm-b88eb855b53184161ad1ea0eea1962100941cf0b.tar.gz llvm-b88eb855b53184161ad1ea0eea1962100941cf0b.tar.bz2 |
[clang] use correct builtin type for defaulted comparison analyzer
Fixes PR50591.
When analyzing classes with members which have user-defined conversion
operators to builtin types, the defaulted comparison analyzer was
picking the member type instead of the type for the builtin operator
which was selected as the best match.
This could either result in wrong comparison category being selected,
or a crash when runtime checks are enabled.
Signed-off-by: Matheus Izvekov <mizvekov@gmail.com>
Reviewed By: rsmith
Differential Revision: https://reviews.llvm.org/D103760
Diffstat (limited to 'lldb/source/Commands/CommandObjectGUI.cpp')
0 files changed, 0 insertions, 0 deletions