commit | 17f27df90bd84a923a43787ffe8dc6817313111a | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Thu Mar 11 13:06:08 2021 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 18 00:26:29 2021 -0700 |
tree | 547350f250d433f8d075d132a4da2b728d954003 | |
parent | 067df6c5b40db073773c4db26bb819f61c0d0235 [diff] |
[libcxx] Avoid intermediate string objects for substrings in windows operator/= Check that appends with a path object doesn't do allocations, even on windows. Suggested by Marek in D98398. The patch might apply without D98398 (depending on how much of the diff context has to match), but doesn't make much sense until after that patch has landed. Differential Revision: https://reviews.llvm.org/D98412 GitOrigin-RevId: 49173ca4db21e4d1576c2440b79ebff48c6c4156