llvm-project
c2489030 - [OpenMP][NFC] Use pass by const ref for Dependencies (#139592)

Commit
211 days ago
[OpenMP][NFC] Use pass by const ref for Dependencies (#139592) Static analysis flagged the passing of Dependencies to emitTargetCall as a place we could use std::move to avoid copying. A closer look indicated we could instead turn the parameter into a const & and not have a default value since it was only used in two lines in a test and changing those two locations was easy.
Author
Parents
Loading