benlangmuir added a comment.

I don't think this is the right approach.  If we don't canonicalize the source 
path then:

- looking up the path *without* the .. won't work, which means anything that 
looks up a realpath will fail
- directory iteration won't combine entries from foo/bar/.. and foo/

I think we're better off handling ".." in lookup and always using canonicalized 
paths in the YAML representation.


http://reviews.llvm.org/D17104



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

Reply via email to