]> git.eshelyaron.com Git - emacs.git/commit
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)
committerEshel Yaron <me@eshelyaron.com>
Sun, 21 Jan 2024 07:31:19 +0000 (08:31 +0100)
commit282a735ec9b7406e7101dd9c6bf6e7508fdf5fd1
tree39e5b2a80ec32c0b7a3979eb6e70ca22605ae1db
parent89dec095a5a17ea16e4fca601a0f5398fecb50d5
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.

(cherry picked from commit b6ed79b71ccb3df8df05531d473ff9510cf9a39f)
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