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 /.clang-format | |
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 '.clang-format')
-rw-r--r-- | .clang-format | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format index f40eea44..cf1d44ad 100644 --- a/.clang-format +++ b/.clang-format @@ -1,4 +1,4 @@ -# This configuration should work with Clang-Format 6.0 and higher. +# This configuration should work with Clang-Format 10 and higher. --- Language: Cpp BasedOnStyle: LLVM |