writing-temporary behavior doesn't respect the documentation
I see the warning being emitted on non-Qt types despite I haven't enabled the widen criteria option
warning: Call to temporary is a no-op: gi::repository::Mpris::base::MediaPlayer2PlayerBase::set_can_control [-Wclazy-writing-to-temporary]
player().set_can_control(true);
^
Perhaps that condition should actually be like this?
if (!m_widenCriteria && !isKnownType(record->getNameAsString())) {
return;
}
if (!clazy::startsWith(secondFunc->getNameAsString(), "set")) {
return;
}