summaryrefslogtreecommitdiff
path: root/tools/patcheck
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-07-28 15:03:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-07-28 15:03:05 +0000
commit78db142acbdc7c754f159b08bc068ff0bce1f21f (patch)
treecda3084b678094cc747a83c5abb876cf781dd710 /tools/patcheck
parentfd3064b65eea26eaee94ae49de0d70fa26b8c877 (diff)
Warn about "/** text" comments.
Originally committed as revision 24574 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tools/patcheck')
-rwxr-xr-xtools/patcheck1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/patcheck b/tools/patcheck
index de20500f10..d8000b427a 100755
--- a/tools/patcheck
+++ b/tools/patcheck
@@ -51,6 +51,7 @@ hiegrep 'for *\( *'"$ERE_PRITYP"' ' 'not gcc 2.95 compatible' $*
hiegrep '(static|inline|const) *\1' 'duplicate word' $*
hiegrep 'INIT_VLC_USE_STATIC' 'forbidden ancient vlc type' $*
hiegrep '=[-+\*\&] ' 'looks like compound assignment' $*
+hiegrep2 '/\*\* *[a-zA-Z0-9].*' '\*/' 'Inconsistently formatted doxygen comment' $*
hiegrep2 '(int|unsigned|static|void)[a-zA-Z0-9 _]*(init|end)[a-zA-Z0-9 _]*\(.*[^;]$' '(av_cold|:\+[^a-zA-Z_])' 'These functions may need av_cold, please review the whole patch for similar functions needing av_cold' $*