[git-clang-format] Process CUDA header files
authormydeveloperday <mydeveloperday@gmail.com>
Sat, 14 Nov 2020 12:37:52 +0000 (12:37 +0000)
committermydeveloperday <mydeveloperday@gmail.com>
Sat, 14 Nov 2020 12:39:16 +0000 (12:39 +0000)
commitdb6f7e0e9ec20049bfbb7c965baa90e1b9e56d3f
tree79c6c3dbe151a168de0da05a5d6f3ad468d9617e
parentc044709b8fbea2a9a375e4173a6bd735f6866c0c
[git-clang-format] Process CUDA header files

Clang supports compiling CUDA source files,
CUDA header files may contain CUDA specific code
that is why they have special extension, which
can be recognized by nvcc (CUDA compiler driver)
as CUDA source file.
Format them by default as well.

Reviewed By: MyDeveloperDay

Patch By: tomilov

Differential Revision: https://reviews.llvm.org/D90780
clang/tools/clang-format/git-clang-format