View Revisions: Issue #3811 |
[ All Revisions ] [ Back to Issue ] |
Summary |
0003811: Special member functions don't have "= default;" (modernize-use-equals-default) |
|
Revision |
2020-06-07 04:35 by WubTheCaptain |
|
Description |
I'll just quote clang-tidy on this one, because of difficulty to describe it:
Quote This check replaces default bodies of special member functions with = default;. The explicitly defaulted function declarations enable more opportunities in optimization, because the compiler might treat explicitly defaulted functions as trivial. |
|
Revision |
2020-06-07 04:34 by WubTheCaptain |
|
Description |
I'll just quote clang-tidy on this one, because of difficulty to describe it:
Quote This check replaces default bodies of special member functions with = default;. The explicitly defaulted function declarations enable more opportunities in optimization, because the compiler might treat explicitly defaulted functions as trivial.[/quote} |