Krazy Checker for D-pointers

Allen Winter winter at kde.org
Fri Feb 2 18:57:44 GMT 2007


On Friday 02 February 2007 9:13:29 am Allen Winter wrote:
> On Wednesday 31 January 2007 11:20:02 pm Allen Winter wrote:
> > Howdy,
> > 
> > I have a new Krazy checker ready.
> > This one looks in a public class for private members that don't look like D-pointers.
> > It also checks if the D-pointer is const, i.e.,
> >    KFooPrivate * const d;
> > as described in http://developer.kde.org/policies/librarypolicy.html
> > 
> > Currently the checker complains if it finds any non-dpointer private member.
> > This includes functions, class definitions, etc.
> > 
> FYI: I made a test run on the EBN machine yesterday (with Adriaan's permission).
> You might want to checkout the results.  1800 issues came up for kdelibs.
> 
David noticed some false positives. So now kdelibs only has 1500 dpointer issues :>
Please let me know about any other false positives in Krazy and I'll try to fix.

-Allen



-- 
KDEPIM Developer
I accept PayPal payments to awinterz at earthlink.net




More information about the kde-core-devel mailing list