[libcxx-commits] [PATCH] D91179: [23/N] [libcxx] Have lexically_normal return the path with preferred separators

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 16 23:49:02 PST 2021


mstorsjo updated this revision to Diff 324212.
mstorsjo set the repository for this revision to rG LLVM Github Monorepo.
mstorsjo added a comment.

Retrigger CI


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91179

Files:
  libcxx/src/filesystem/operations.cpp


Index: libcxx/src/filesystem/operations.cpp
===================================================================
--- libcxx/src/filesystem/operations.cpp
+++ libcxx/src/filesystem/operations.cpp
@@ -1719,6 +1719,7 @@
   if (NeedTrailingSep)
     Result /= PS("");
 
+  Result.make_preferred();
   return Result;
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91179.324212.patch
Type: text/x-patch
Size: 316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210217/872f7152/attachment.bin>


More information about the libcxx-commits mailing list