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 /Utilities/Scripts | |
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 'Utilities/Scripts')
-rwxr-xr-x | Utilities/Scripts/clang-format.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/Scripts/clang-format.bash b/Utilities/Scripts/clang-format.bash index 8e07c99..2b36ac5 100755 --- a/Utilities/Scripts/clang-format.bash +++ b/Utilities/Scripts/clang-format.bash @@ -107,7 +107,7 @@ case "$mode" in esac # Filter sources to which our style should apply. -$git_ls -z -- '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' | +$git_ls -z -- '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' '*.cu' '*.notcu' | # Exclude lexer/parser generator input and output. egrep -z -v '^Source/cmCommandArgumentLexer\.' | |