| Issue |
173677
|
| Summary |
[clang-tidy] Document and test CUDA support
|
| Labels |
clang-tidy
|
| Assignees |
|
| Reporter |
carlosgalvezp
|
clang-tidy can be run on CUDA code (since clang can compile CUDA code natively), which makes it to my knowledge the only open source tool that can do that. On our project we enable almost all clang-tidy checks and have not seen false positives on CUDA code. It has however caught real bugs, which is great!
It would be good if we could document how to run clang-tidy on CUDA code, and add a basic unit test to demonstrate the functionality.
Note: this issue is orthogonal/prerequisite to implementing CUDA-specific checks. There's plenty of regular C/C++ code in .cu files that can be analyzed with clang-tidy, that's what this ticket is aiming to cover.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs