mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-17 11:15:49 +00:00

This checks when a move constructor for an object copy constructs its member classes or parent classes. Copying unnecessary as all of the members of the moved-from object can be clobbered by the move.
5 lines
283 B
YAML
5 lines
283 B
YAML
---
|
|
Checks: '-*,bugprone-move-forwarding-reference,bugprone-use-after-move,cppcoreguidelines-rvalue-reference-param-not-moved,modernize-use-nullptr,performance-move-const-arg,performance-move-constructor-init,performance-unnecessary-value-param''
|
|
WarningsAsErrors: true
|
|
...
|