compiler-explorer/compiler-explorer
Voir sur GitHub[REQUEST]: Enable clang-tidy for Clang-CUDA builds
Open
#6 944 ouverte le 8 oct. 2024
good first issuelang-cudarequest
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