Messages in this thread | | | Subject | Re: list iterator spacing: clang-format vs checkpatch | From | Joe Perches <> | Date | Mon, 17 Jan 2022 20:25:14 -0800 |
| |
On Mon, 2022-01-17 at 22:41 +0100, Miguel Ojeda wrote: > Yeah, for `clang-format` I tried to be conservative having only > `include/`, but we could change that.
There are more #defines outside of include/ than inside:
$ git grep -P '^\s*#\s*define\s+\w*for_each\w*\(' -- '*.[ch]' | \ grep -P -v '^(?:include|tools)/' | wc -l 613
$ git grep -P '^\s*#\s*define\s+\w*for_each\w*\(' -- 'include/*.[ch]' | \ wc -l 469
| |