Extend ClangClassHelper to offer both operator== & operator!= operators
ClosedPublic

Authored by kossebau on Jun 22 2017, 9:15 PM.

Details

Summary

I do not know a best practice rule which recommends this.
But when I add some operator== implementation, I also add an
operator!= implementation to a class.
Because if users of the class API need the first, chance is
other users might want the inverse for other logic.

So I would find it handy to have codegen allow me to generate both
signatures.

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kossebau created this revision.Jun 22 2017, 9:15 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJun 22 2017, 9:15 PM
kfunk accepted this revision.Jul 5 2017, 2:08 PM
This revision is now accepted and ready to land.Jul 5 2017, 2:08 PM
This revision was automatically updated to reflect the committed changes.