Commit graph

16 commits

Author SHA1 Message Date
Sebastian Pipping
f9cfbb7fce Sync file headers 2024-09-03 18:19:25 +02:00
Dag-Erling Smørgrav
1253273fe4 Drop dependency on GNU sed.
GNU sed supports `-i` (in-place editing) with an optional suffix for the
backup copy.  Non-GNU implementations also support `-i`, but the suffix
is not optional.  Replacing all occurrences of naked `-i` with `-i.bak`
ensures our scripts work equally well with both.
2024-05-04 18:14:52 +02:00
Sebastian Pipping
2a10e173ab Sync file headers 2024-02-06 14:13:00 +01:00
Sebastian Pipping
c594eedfa8 apply-clang-format.sh: Drop workaround for lib/siphash.h
Does not seem needed anymore (or running the script would
produce a diff).
2024-01-30 22:57:09 +01:00
Sebastian Pipping
5d2a438af2 apply-clang-format.sh: Use "git ls-files" rather than "find"
.. and reduce difference with sibling script apply-clang-tidy.sh .
2024-01-30 22:57:09 +01:00
Sebastian Pipping
55b79f4d88 Sync file headers 2022-09-19 16:20:44 +02:00
Sebastian Pipping
9d246a7225
Merge pull request #636 from neheb/patch-1
CMake: Drop leading whitespace from a #cmakedefine line in file expat_config.h.cmake to workaround issues with Meson
2022-08-28 15:26:30 +02:00
Rosen Penev
2e4ff883f1 remove leading whitespace from config file
meson has a bug where #cmakedefine with leading whitespace is not transformed.
2022-08-27 16:25:49 -07:00
Rosen Penev
cf0072d274 apply-clang-format: add support for BSD find
Found with shellcheck:

SC2185: Some finds don't have a default path. Specify '.' explicitly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-08-27 15:57:42 -07:00
Sebastian Pipping
df42f935bf Increase precision in existing MIT headers based on Git history 2021-05-02 19:53:29 +02:00
Sebastian Pipping
8755b82355 apply-clang-format.sh: Support formatting only selected files 2021-04-30 21:09:05 +02:00
Sebastian Pipping
ab8830f72c apply-clang-format.sh: Extract variable clang_format_args 2021-04-30 21:09:05 +02:00
Sebastian Pipping
af86899bf9 apply-clang-format.sh: Report on clang-format version 2021-02-24 03:34:43 +01:00
Sebastian Pipping
08a7d458bd apply-clang-format.sh: Adapt to new expat_config.h.cmake line endings 2019-08-11 02:12:18 +02:00
Sebastian Pipping
c951711d75 siphash.h: Prepare for application of clang-format 2019-08-03 21:31:44 +02:00
Sebastian Pipping
090b1cbdef Travis CI: Integrate clang-format 9 2019-08-03 21:31:44 +02:00