[PATCH] D139478: [Support] Forward rvalues instead of moving them

Alf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 19:21:45 PST 2022


gAlfonso-bit marked an inline comment as done.
gAlfonso-bit added inline comments.


================
Comment at: llvm/include/llvm/Support/raw_ostream.h:407
                  OStream &&>
 operator<<(OStream &&OS, const T &Value) {
   OS << Value;
----------------
MaskRay wrote:
> This `&&` use seems wrong.
How, if I may ask?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139478/new/

https://reviews.llvm.org/D139478



More information about the llvm-commits mailing list