aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2010-08-02 07:23:47 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2010-08-02 07:23:47 +0000
commit3ea4d9423fceee1a33ede343701d6bd6b3291d66 (patch)
treeaf9b22fe650148faf6f3c26eabe3d071a006b99d /tools
parent10bf2eebbe285ca7d8a2a28dda76f44f6f77efb7 (diff)
downloadffmpeg-3ea4d9423fceee1a33ede343701d6bd6b3291d66.tar.gz
Issue a warning when fed with misformatted one-line doxygen comments.
Originally committed as revision 24660 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tools')
-rwxr-xr-xtools/patcheck1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/patcheck b/tools/patcheck
index d8000b427a..733272e801 100755
--- a/tools/patcheck
+++ b/tools/patcheck
@@ -52,6 +52,7 @@ 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' $*
+hiegrep '; */\*\*[^<]' 'Misformatted 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' $*