Be more systematic about parens in C source code
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jan 2024 00:52:31 +0000 (16:52 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jan 2024 01:28:53 +0000 (17:28 -0800)
commitb6ed79b71ccb3df8df05531d473ff9510cf9a39f
treecea1f448b8e163fc0972b09774f075f9c2277372
parent0a47a5a4bef0a33c012302346685ecab861cc306
Be more systematic about parens in C source code

Be more systematic about putting space before paren in calls,
and in avoiding unnecessary parentheses in macros.
This was partly inspired by my wading through gcc -E output
while debugging something else, and seeing too many parens.

This patch does not change the generated .o files on my platform.
46 files changed:
admin/notes/java
lib-src/etags.c
lib-src/seccomp-filter.c
src/alloc.c
src/android.c
src/android.h
src/androidterm.h
src/buffer.h
src/ccl.c
src/ccl.h
src/charset.c
src/charset.h
src/coding.c
src/coding.h
src/comp.c
src/composite.h
src/conf_post.h
src/dispextern.h
src/dispnew.c
src/disptab.h
src/editfns.c
src/emacsgtkfixed.h
src/font.h
src/fontset.c
src/frame.h
src/gtkutil.c
src/image.c
src/keyboard.c
src/keyboard.h
src/lisp.h
src/lread.c
src/macfont.h
src/msdos.c
src/nsfont.m
src/nsterm.h
src/pdumper.h
src/pgtkterm.h
src/regex-emacs.c
src/sfnt.c
src/term.c
src/w32font.c
src/window.h
src/xdisp.c
src/xfaces.c
src/xterm.h
test/src/emacs-module-resources/mod-test.c