kokkos / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.
http://llvm.org
Other
4 stars 2 forks source link

check functor arguments to parallel_X functions #13

Open calewis opened 4 years ago

calewis commented 4 years ago

Need to detect that the functor passed into to parallel_X function is valid, i.e. the operator called either has KOKKOS_INLINE_FUNCTION or is a KOKKOS_LAMBDA

calewis commented 4 years ago

So this appears to work when invoked via clang-tidy, but doesn't work when invoked via clang-tidy via clangd. I need to figure out why.