Some of these rvalues are moved conditionally, when they should be forwarded instead.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/include/llvm/Support/raw_ostream.h | ||
---|---|---|
407 ↗ | (On Diff #480660) | This && use seems wrong. |
llvm/include/llvm/Support/raw_ostream.h | ||
---|---|---|
407 ↗ | (On Diff #480660) | How, if I may ask? |
This comment was removed by gAlfonso-bit.
Comment Actions
Please spend more time on each call site instead of applying easy fixes from some static analyzer. For example, operator<<(OStream &&OS, const T &Value) { is for value only (see !std::is_reference). std::move is intended.
This comment was removed by gAlfonso-bit.
This comment was removed by gAlfonso-bit.