https://github.com/zwuis commented:
C++23 improves `std::string`, allowing us to provide the following fixit: ```cpp s = std::move(s).substr(...); // ^^^^^^^^^^ ^ ``` See https://wg21.link/p2438r2 for the proposal. https://github.com/llvm/llvm-project/pull/209657 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
