[all-commits] [llvm/llvm-project] db6f7e: [git-clang-format] Process CUDA header files

MyDeveloperDay via All-commits all-commits at lists.llvm.org
Sat Nov 14 04:39:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: db6f7e0e9ec20049bfbb7c965baa90e1b9e56d3f
      https://github.com/llvm/llvm-project/commit/db6f7e0e9ec20049bfbb7c965baa90e1b9e56d3f
  Author: mydeveloperday <mydeveloperday at gmail.com>
  Date:   2020-11-14 (Sat, 14 Nov 2020)

  Changed paths:
    M clang/tools/clang-format/git-clang-format

  Log Message:
  -----------
  [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




More information about the All-commits mailing list