CID 550494: (#1 of 1): Variable copied when it could be moved (COPY_INSTEAD_OF_MOVE)
copy_constructor_call: PCHFS is passed-by-value as parameter to IntrusiveRefCntPtr, when it could be moved instead.[show details]
Use std::move(PCHFS) instead of PCHFS.
Describe the bug
llvm/sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp
Lines 312 to 315 in 6489caa
To reproduce
Environment
clang++ --version]sycl-ls --verbose]Additional context
No response