mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 18:09:42 -05:00
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:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user