[llvm] [LLVM][ADT] Add support for `std::string += Twine` operator (PR #140644)

A. Jiang via llvm-commits llvm-commits at lists.llvm.org
Mon May 19 22:58:09 PDT 2025


================
@@ -578,6 +579,8 @@ namespace llvm {
     return OS;
   }
 
+  std::string &operator+=(std::string &LHS, const Twine &RHS);
----------------
frederick-vs-ja wrote:

Do we want this to be a hidden friend?

https://github.com/llvm/llvm-project/pull/140644


More information about the llvm-commits mailing list