diff options
author | Brad King <brad.king@kitware.com> | 2018-05-31 17:40:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-01 13:52:02 (GMT) |
commit | 523c443d135f6474cf5a9d0372b3cc364fc7ebe5 (patch) | |
tree | 82f22000589d6ded60d2c325b221c5290cda3d3d /Tests/RunCMake/CommandLine | |
parent | eb7ec19c1c639e91b812763ead3a56e97d20aec4 (diff) | |
download | CMake-523c443d135f6474cf5a9d0372b3cc364fc7ebe5.zip CMake-523c443d135f6474cf5a9d0372b3cc364fc7ebe5.tar.gz CMake-523c443d135f6474cf5a9d0372b3cc364fc7ebe5.tar.bz2 |
clang-format.bash: update to clang-format-6.0
Update `.clang-format` with configuration to make the 6.0 format as
close as possible to what 3.8 produced before. Then revise the style:
* Indent preprocessor directives (a feature new since 3.8)
* Add a newline and indentation before inheritance `:` and `,`
Rename the Git attribute identifying the format to include the
clang-format version number: `format.clang-format-6.0`. This will aid
external infrastructure in knowing what version of the tool to run.
Diffstat (limited to 'Tests/RunCMake/CommandLine')
-rw-r--r-- | Tests/RunCMake/CommandLine/cmake_depends/.gitattributes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CommandLine/cmake_depends/.gitattributes b/Tests/RunCMake/CommandLine/cmake_depends/.gitattributes index 9c22288..d9a4db4 100644 --- a/Tests/RunCMake/CommandLine/cmake_depends/.gitattributes +++ b/Tests/RunCMake/CommandLine/cmake_depends/.gitattributes @@ -1,2 +1,2 @@ # Do not format a source encoded in UTF-16. -test_UTF-16LE.h -format.clang-format +test_UTF-16LE.h -format.clang-format-6.0 |