Compiling with Clang modules and libc++ identified that rtl.cpp is using
std::fill without first including <algorithm>.
Details
Details
- Reviewers
jdoerfert
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/libomptarget/plugins/cuda/src/rtl.cpp | ||
---|---|---|
199 | std::fill use here, looks like we could memset to avoid including algorithm |
openmp/libomptarget/plugins/cuda/src/rtl.cpp | ||
---|---|---|
199 | Is it worth avoiding it altogether? It's already included in the AMDGPU plugin, but it doesn't seem to be used for anything there. |
clang-tidy: error: 'cuda.h' file not found [clang-diagnostic-error]
not useful