Commit 45f4be3
[Clang][NFC] Use std::move to avoid copy (llvm#138073)
Static analysis flagged this code for using copy when we could use
std::move.
Worth noting that CD.Message is a StringRef but Conflict.Message is
std::string. Otherwise I would have used a temporary in place and avoid
a local variable.1 parent 0564790 commit 45f4be3
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2010 | 2010 | | |
2011 | 2011 | | |
2012 | 2012 | | |
2013 | | - | |
| 2013 | + | |
| 2014 | + | |
2014 | 2015 | | |
2015 | 2016 | | |
2016 | 2017 | | |
| |||
0 commit comments