]> git.sesse.net Git - ffmpeg/commitdiff
doc/developer: update style guidelines to include for loops with declarations
authorRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 18 May 2018 01:24:28 +0000 (02:24 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Fri, 18 May 2018 01:24:28 +0000 (02:24 +0100)
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
doc/developer.texi

index a0eeefe242dc447e43ad1cdfe5748682551696f2..5c342c91064b8bdff5afe9c6bc6013bfb92b140c 100644 (file)
@@ -128,6 +128,9 @@ designated struct initializers (@samp{struct s x = @{ .i = 17 @};});
 @item
 compound literals (@samp{x = (struct s) @{ 17, 23 @};}).
 
+@item
+for loops with variable definition (@samp{for (int i = 0; i < 8; i++)});
+
 @item
 Implementation defined behavior for signed integers is assumed to match the
 expected behavior for two's complement. Non representable values in integer