aboutsummaryrefslogtreecommitdiffstats
path: root/send-pack.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2024-07-05 21:25:43 +0200
committerJunio C Hamano <gitster@pobox.com>2024-07-06 15:12:36 -0700
commit1457dff9be97955f5ef9d780cc340e4691d2818b (patch)
tree531da68a73f3f8c745942e21822daba3f4edf346 /send-pack.c
parent0dc9cad22d5c878d2ce6ee7b5cfffb034e34b2a0 (diff)
downloadgit-1457dff9be97955f5ef9d780cc340e4691d2818b.tar.gz
clang-format: include kh_foreach* macros in ForEachMacros
The command for generating the list of ForEachMacros searches for macros whose name contains the string "for_each". Include those whose name contains "foreach" as well. That brings in kh_foreach and kh_foreach_value from khash.h. Regenerating the list also brings in hashmap-based macros added by 87571c3f71 (hashmap: use *_entry APIs for iteration, 2019-10-06), f0e63c4113 (hashmap: use *_entry APIs to wrap container_of, 2019-10-06), 4fa1d501f7 (strmap: add functions facilitating use as a string->int map, 2020-11-05), b70c82e6ed (strmap: add more utility functions, 2020-11-05), and 1201eb628a (strmap: add a strset sub-type, 2020-11-06). for_each_abbrev is no longer found because its definition was removed by d850b7a545 (cocci: apply the "cache.h" part of "the_repository.pending", 2023-03-28). Note that it had been a false positive, though, as it had been a function wrapper, not a for-like macro. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'send-pack.c')
0 files changed, 0 insertions, 0 deletions