Check for doxy filetag with filename
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Jul 2010 11:13:23 +0000 (11:13 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Jul 2010 11:13:23 +0000 (11:13 +0000)
Originally committed as revision 23975 to svn://svn.ffmpeg.org/ffmpeg/trunk

tools/patcheck

index 5add8a6..4bb0236 100755 (executable)
@@ -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' $*