Skip to content

Commit 09eda9e

Browse files
author
CA Lewis
committed
Added some documentation
1 parent 4a894f6 commit 09eda9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang-tools-extra/docs/clang-tidy/checks/kokkos-ensure-kokkos-function.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
kokkos-ensure-kokkos-function
44
=============================
55

6-
FIXME: Describe what patterns does the check detect and why. Give examples.
6+
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ KOKKOS_FUNCTION void f(){foo();}
99
// CHECK-MESSAGES: :[[@LINE-1]]:26: warning: function 'foo' called in 'f' is missing a KOKKOS_X_FUNCTION annotation [kokkos-ensure-kokkos-function]
1010

1111

12-
// FIXME: Add something that doesn't trigger the check here.
1312
KOKKOS_FUNCTION void awesome_f2(){legal();}

0 commit comments

Comments
 (0)