OSDN Git Service

Issue a warning when fed with misformatted one-line doxygen comments.
authorBenoit Fouet <benoit.fouet@free.fr>
Mon, 2 Aug 2010 07:23:47 +0000 (07:23 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Mon, 2 Aug 2010 07:23:47 +0000 (07:23 +0000)
Originally committed as revision 24660 to svn://svn.ffmpeg.org/ffmpeg/trunk

tools/patcheck

index d8000b4..733272e 100755 (executable)
@@ -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' $*