diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-11-23 07:37:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-11-23 08:48:46 +0100 |
commit | 7255d21f812b7333c83b4548e2b5b102adb606a9 (patch) | |
tree | a1cb1917f41e474671731837cb1665d21d13b3dc /static/CustomTarget_components.mk | |
parent | 27eb23369f9e250e71cfea8524a71f962e93b8fd (diff) |
Fix loplugin:redundantcast check for same-type dynamic_cast
...when the target type is a reference type and the source and target type have
different cv qualifiers. (And fix the fallout. And make the tests cover that
somewhat more exhaustively; and while at it also test that the plugin can cope
with dynamic_cast to void pointers, which is the only legitimate case where a
dynamic_cast can involve types that are not (pointers or references to)
non-class types.)
Change-Id: Ia568ddb5dbc4a84c275db172791c345d95964857
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143133
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'static/CustomTarget_components.mk')
0 files changed, 0 insertions, 0 deletions