]> git.ozlabs.org Git - ccan/commitdiff
ccanlint: check examples actually mention thing they are demonstrating.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 17 Jan 2011 05:50:15 +0000 (16:20 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 17 Jan 2011 05:50:15 +0000 (16:20 +1030)
Brad suggested this after finding one such cut & paste in str:

rusty@vivaldi:~/devel/cvs/ccan/ccan/str$ ../../tools/ccanlint/ccanlint
Example: sections demonstrate appropriate function (examples_relevant): FAIL
/home/rusty/devel/cvs/ccan/ccan/str/str.h:64:Example for strcount doesn't mention it
Total score: 37/38


No differences found