[clang-tools-extra] [clang-tidy] Add documentation and smoke test for CUDA (PR #173699)
Carlos Galvez via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 27 11:04:52 PST 2025
================
@@ -0,0 +1,16 @@
+// RUN: clang-tidy %s -checks='-*,modernize-use-nullptr' -- \
+// RUN: --cuda-path=%S/Inputs/CUDA \
+// RUN: -nocudalib -nocudainc -I %S/Inputs/CUDA \
+// RUN: --cuda-host-only | FileCheck %s
+// RUN: clang-tidy %s -checks='-*,modernize-use-nullptr' -- \
----------------
carlosgalvezp wrote:
I tested it and clang-tidy crashes, this should be looked at.
https://github.com/llvm/llvm-project/pull/173699
More information about the cfe-commits
mailing list