bruno added a comment.


> I'm unaware of any other API that canonicalizes the path, which is what users 
> of this API are going to expect.

You can also call `sys::path::remove_dots(Path, /*remove_dot_dot=*/true);`

> There's already a test case that covers this: Index/pch-from-libclang.c -- it 
> was failing on OS X 10.6 for us. If you have a better test case in mind, I 
> can certainly add it.

Works for me.


https://reviews.llvm.org/D33788



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to