We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a894f6 commit 09eda9eCopy full SHA for 09eda9e
clang-tools-extra/docs/clang-tidy/checks/kokkos-ensure-kokkos-function.rst
@@ -3,4 +3,5 @@
3
kokkos-ensure-kokkos-function
4
=============================
5
6
-FIXME: Describe what patterns does the check detect and why. Give examples.
+This check ensures that the user has annotated functions called by Kokkos with
7
+one of the KOKKOS_FUNCTION style annotations.
clang-tools-extra/test/clang-tidy/checkers/kokkos-ensure-kokkos-function.cpp
@@ -9,5 +9,4 @@ KOKKOS_FUNCTION void f(){foo();}
9
// CHECK-MESSAGES: :[[@LINE-1]]:26: warning: function 'foo' called in 'f' is missing a KOKKOS_X_FUNCTION annotation [kokkos-ensure-kokkos-function]
10
11
12
-// FIXME: Add something that doesn't trigger the check here.
13
KOKKOS_FUNCTION void awesome_f2(){legal();}
0 commit comments