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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 17:22:08 PST 2022


MaskRay requested changes to this revision.
MaskRay added inline comments.
This revision now requires changes to proceed.


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


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