Replying to softworkz from the mailing list archive:
I tried out the .clang-format file you proposed and I ended up using:
AlignConsecutiveDeclarations:        Consecutive
instead of:
> +AlignConsecutiveDeclarations:        AcrossEmptyLinesAndComments

since otherwise clang-format will indent the function names for most
of a header file like so, which imo just wastes horizontal space:
> /** <docs> */
> int          av_foo();
>
> /** <docs> */
> int          av_bar();
>
> /** <docs> */
> LongTypeName av_baz();

Jacob
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to