From c4e12a9fa4d4f524d7a5832d82594c6b72e2ecae Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 2 Jul 2010 11:13:23 +0000 Subject: Check for doxy filetag with filename Originally committed as revision 23975 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tools/patcheck | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/patcheck') diff --git a/tools/patcheck b/tools/patcheck index 5add8a67ea..4bb0236879 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -71,6 +71,7 @@ hiegrep '(\( *[0-9] *(&&|\|\|)|(&&|\|\|) *[0-9] *\))' 'overriding condition' $* hiegrep '(:\+|,|;)( *|static|\*)*'"$ERE_PRITYP"' *\*( |\*)*(src|source|input|in[^a-z])' 'missing const?' $* hiegrep '(:\+|,|;)( *|static|\*)*'"$ERE_PRITYP"' *(src|source|input|in)([0-9A-Z_][0-9A-Za-z_]*){1,} *\[' 'missing const (test2)?' $* hiegrep ' *static *'"$ERE_FUNCS"'[^)]*\);' 'static prototype, maybe you should reorder your functions' $* +hiegrep '@file: *[a-zA-Z0-9_]' 'doxy filetag with filename can in the future cause problems when forgotten during a rename' $* hiegrep2 '\.long_name *=' 'NULL_IF_CONFIG_SMAL' 'missing NULL_IF_CONFIG_SMAL' $* hiegrep2 '\.pix_fmts *= *\(' 'const' 'missing const for pix_fmts array' $* -- cgit v1.2.3