[libcxx] Have lexically_normal return the path with preferred separators

Differential Revision: https://reviews.llvm.org/D91179
This commit is contained in:
Martin Storsjö 2020-11-05 23:09:15 +02:00
parent 5b250a27ec
commit 513463fd26

View File

@ -1717,6 +1717,7 @@ path path::lexically_normal() const {
if (NeedTrailingSep)
Result /= PS("");
Result.make_preferred();
return Result;
}