D26128: Simplify defaultValue method: Return Early, Use Default Initialization, and Assert.
Kevin Ottens
noreply at phabricator.kde.org
Mon Dec 23 17:10:57 GMT 2019
ervin requested changes to this revision.
ervin added a comment.
This revision now requires changes to proceed.
This also has similarities with D26126 <https://phabricator.kde.org/D26126>, has the same defects and missed opportunities for sharing.
Beside I'm not sure what we're trying to achieve here, those parts of kconfig_compiler are not that bad. I'm not a huge fan of series of "else if" but that's not really making kconfig_compiler hard to understand, the overall lack of consistent domain model and the way the code is generated on the other hand...
REPOSITORY
R237 KConfig
REVISION DETAIL
https://phabricator.kde.org/D26128
To: tcanabrava, ervin
Cc: ervin, apol, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191223/38a1c9ec/attachment.html>
More information about the Kde-frameworks-devel
mailing list