clang-format.bash: Use generic clang-format attribute

Specify the clang-format version in the attribute value instead of its
name.

Issue: #24315
This commit is contained in:
Brad King
2023-01-17 14:23:59 -05:00
parent 9ce1c87037
commit 48639aa8fc
11 changed files with 17 additions and 19 deletions
+2 -2
View File
@@ -4,11 +4,11 @@
.editorconfig export-ignore
# Custom attribute to mark sources as using our C code style.
[attr]our-c-style whitespace=tab-in-indent format.clang-format-6.0
[attr]our-c-style whitespace=tab-in-indent format.clang-format=6.0
# Custom attribute to mark sources as generated.
# Do not perform whitespace checks. Do not format.
[attr]generated whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format-6.0
[attr]generated whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format
bootstrap eol=lf
configure eol=lf