[PATCH] D33788: Return a canonical path from getClangResourcePath()

Argyrios Kyrtzidis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 2 09:36:01 PDT 2017


akyrtzi added a comment.

Getting the real path is notoriously slow (at least it's horrible in OSX, not sure about linux). Since this is about dropping the '/../' part, could we do some simple canonicalization of removing the dots ? Not sure if there is an existing function that does that.


https://reviews.llvm.org/D33788





More information about the cfe-commits mailing list