diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2021-04-05 13:19:19 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2021-04-05 13:19:19 +0200 |
commit | 661b635de6d65c27b57be22ecc0e3feacc45401e (patch) | |
tree | a57616bf23c8a2d5da89667d000c85818e2cec31 /.gitignore | |
parent | 0f1d99f75f7247d214b53173c66c9b8d24fcae74 (diff) | |
download | ccache-661b635de6d65c27b57be22ecc0e3feacc45401e.tar.gz |
Use Clang-Format executable from muttleyxd/clang-tools-static-binaries
misc/format-files now executes misc/clang-format, which works like this:
1. If environment variable CLANG_FORMAT is set, execute $CLANG_FORMAT.
2. Otherwise, if <ccache-top-dir>/misc/.clang-format-exe exists, execute
that program.
3. Otherwise, download a statically linked clang-format executable,
verify its integrity, place it in
<ccache-top-dir>/misc/.clang-format-exe and execute it.
This makes it possible for us to lock Clang-Format to version 10 and
remove most “// clang-format off/on” comments.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,9 @@ # Typical build directories /build*/ +# Downloaded tools +misc/.clang-format-exe + # Emacs save files *~ |