================
@@ -349,6 +349,25 @@ An overview of all the command-line options:
         some-check.SomeOption: 'some value'
       ...
 
+Running Clang-Tidy on CUDA Files
+--------------------------------
+
+:program:`clang-tidy` supports analyzing CUDA source files. To ensure correct
----------------
carlosgalvezp wrote:

Worth mentioning that if the user is coming from a GCC + NVCC setup (very 
likely), they will also need to use the `ArgsToRemove` feature of clang-tidy 
(or equivalent command-line option) to remove NVCC-specific flags. And use 
`ExtraArgs` to add the `cuda-path`.

https://github.com/llvm/llvm-project/pull/173699
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to