[FFmpeg-cvslog] r23841 - trunk/tools/patcheck
mstorsjo
subversion
Mon Jun 28 10:02:24 CEST 2010
Author: mstorsjo
Date: Mon Jun 28 10:02:24 2010
New Revision: 23841
Log:
Add patcheck checks for assignments that look like compound assignments
Patch by Eli Friedman, eli dot friedman at gmail
Modified:
trunk/tools/patcheck
Modified: trunk/tools/patcheck
==============================================================================
--- trunk/tools/patcheck Mon Jun 28 06:55:36 2010 (r23840)
+++ trunk/tools/patcheck Mon Jun 28 10:02:24 2010 (r23841)
@@ -42,6 +42,7 @@ hiegrep '/\*[-<\* ]*\*/' 'empty comment
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 '(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' $*
More information about the ffmpeg-cvslog
mailing list