Closed
Description
Enable the __clang_analyzer__
definition for clangd. I'm not sure this is really the correct thing to do, but as we have things set up now it is the only way to get ensure-kokkos-function
to work correctly with clangd.
This is because Kokkos only annotates KOKKOS_.*FUNCITON
when the __clang_analyzer__
definition is detected.
I think a longer term solution is to add something like __kokkos_analyzer__
to clangd/clang-tidy so that we know we are in a context that Kokkos definitions should be modified.
@DavidPoliakoff thoughts
Metadata
Metadata
Assignees
Labels
No labels
Activity