diff options
author | Brad King <brad.king@kitware.com> | 2017-02-14 14:58:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-14 15:20:23 (GMT) |
commit | 592e3d2f96850365ee6d17989c1bca55049cfd23 (patch) | |
tree | 61298ec5e024ac58b46a9cd0ccbe8519f2a6dddd /Tests/Cuda/.clang-format | |
parent | 44f3acb202c316bc6a863a1823aaafae486c899a (diff) | |
download | CMake-592e3d2f96850365ee6d17989c1bca55049cfd23.zip CMake-592e3d2f96850365ee6d17989c1bca55049cfd23.tar.gz CMake-592e3d2f96850365ee6d17989c1bca55049cfd23.tar.bz2 |
clang-format.bash: Format CUDA source files too
Add `.clang-format` configuration files for Cuda test directories that
use `Standard: Cpp11`. Otherwise clang-format splits the triple angle
brackets used for CUDA kernels.
Diffstat (limited to 'Tests/Cuda/.clang-format')
-rw-r--r-- | Tests/Cuda/.clang-format | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/Cuda/.clang-format b/Tests/Cuda/.clang-format new file mode 100644 index 0000000..a77589a --- /dev/null +++ b/Tests/Cuda/.clang-format @@ -0,0 +1,9 @@ +--- +# This configuration requires clang-format 3.8 or higher. +BasedOnStyle: Mozilla +AlignOperands: false +AlwaysBreakAfterReturnType: None +AlwaysBreakAfterDefinitionReturnType: None +ColumnLimit: 79 +Standard: Cpp11 +... |