[PATCH] D30668: Add llvm::sys::fs::real_path

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 7 12:55:43 PST 2017


zturner updated this revision to Diff 90920.
zturner added a comment.

Makes tilde expansion opt-in, and adds a test for . and .. collapsing.  `shell_expand` does nothing currently on Windows, but we could make it expand environment variables in theory.


https://reviews.llvm.org/D30668

Files:
  llvm/include/llvm/Support/FileSystem.h
  llvm/lib/Support/Unix/Path.inc
  llvm/lib/Support/Windows/Path.inc
  llvm/unittests/Support/Path.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30668.90920.patch
Type: text/x-patch
Size: 7893 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/af8b1e03/attachment-0001.bin>


More information about the llvm-commits mailing list