diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-11-11 10:09:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-11-11 19:37:16 +0100 |
commit | 4c9093c95445c154c4ce7db1756ca936ea0752ca (patch) | |
tree | 4233f634d3d671fe0be167a6b5b6146d6250c2ca /vcl/workben/htmlfuzzer.cxx | |
parent | c725028f15c36fc626d9ad8cdc288eb73c3e2643 (diff) |
New loplugin:constmove
"Find occurrences of std::move on const-qualified types. While there might
theoretically be legitimate uses for such (for which this plugin would generate
false positives and would need to be updated), in practice they tend to point at
suspicious code that should be cleaned up in some way."
(All issues found for a Linux build have already been addressed with eleven
recent commits mentioning in their commit messages: "I came across this code
with an upcoming loplugin:constmove that flags suspicious uses of std::move
involving const-qualified types.")
Change-Id: I891a66eb0ec5f9b7d93536bbccea0359893383df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142589
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/workben/htmlfuzzer.cxx')
0 files changed, 0 insertions, 0 deletions