================
@@ -207,12 +207,13 @@ LLVM_ABI bool replace_path_prefix(SmallVectorImpl<char> 
&Path,
 LLVM_ABI StringRef remove_leading_dotslash(StringRef path LLVM_LIFETIME_BOUND,
                                            Style style = Style::native);
 
-/// In-place remove any './' and optionally '../' components from a path.
+/// In-place remove any './' and optionally '../' components, and
+/// canonicalize slashes when possible, from a path.
----------------
cyndyishida wrote:

I put the object at the end because both sides of the ", and" apply to "a 
path". The suggested sentence leaves that potentially ambiguous.

https://github.com/llvm/llvm-project/pull/182360
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to