compiler-explorer icon indicating copy to clipboard operation
compiler-explorer copied to clipboard

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

Open carlosgalvezp opened this issue 2 years ago • 2 comments

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

carlosgalvezp avatar Oct 08 '24 09:10 carlosgalvezp

Hi, is this issue still up for grabs? If it is, may I take this up?

aksh16 avatar Nov 25 '24 21:11 aksh16

This is now live

compiler-explorer-bot avatar Aug 14 '26 02:08 compiler-explorer-bot