compiler-explorer/compiler-explorer

[REQUEST]: Enable clang-tidy for Clang-CUDA builds

Open

#6.944 aberto em 8 de out. de 2024

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (1.605 forks)batch import
good first issuelang-cudarequest

Métricas do repositório

Stars
 (14.391 stars)
Métricas de merge de PR
 (Mesclagem média 8d 5h) (62 fundiu PRs em 30d)

Description

Is your feature request related to a problem? Please describe

No problem.

Describe the solution you'd like

Since Clang can be used to compile CUDA code, so can clang-tidy be used to lint it. Currently Compiler Explorer displays the tool is not supported, but technically it's possible. It should be fairly easy, pretty much drop-in replace "clang" with "clang-tidy" in the compiler invocation.

Describe alternatives you've considered

No alternatives.

Additional context

Not applicable

Guia do colaborador