[Coverity] Copy instead of move in sycl tools
Open
bug
confirmed
Coverity
good first issue
- Dominant language
- LLVM
- Stars
- 1.5k
- Forks
- 854
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 137
Description
See Coverity issues at https://scan.coverity.com/projects/intel-llvm?tab=analysis_settings
CID `489996`:
https://github.com/intel/llvm/blob/f9a7cc8aaea55c1c173638f8130985446d247abe/sycl/tools/sycl-prof/main.cpp#L44
CID `442945`:
https://github.com/intel/llvm/blob/f9a7cc8aaea55c1c173638f8130985446d247abe/sycl/tools/xpti_helpers/usm_analyzer.hpp#L288
CID `439186`:
https://github.com/intel/llvm/blob/f9a7cc8aaea55c1c173638f8130985446d247abe/sycl/tools/xpti_helpers/usm_analyzer.hpp#L298
CID `443624`:
https://github.com/intel/llvm/blob/f9a7cc8aaea55c1c173638f8130985446d247abe/sycl/tools/xpti_helpers/usm_analyzer.hpp#L307
Contributor guide
Assessment
This issue has not been assessed yet.