[cfe-commits] [PATCH] Handle windows drives in FileManager::getDirectory

Nico Rieck nico.rieck at googlemail.com
Sun Feb 12 06:29:22 PST 2012


Hello,

this patch fixes loading files on Windows with a path without
subdirectories (like 'C:\foo.cpp'). Without the patch, the trailing path
separator is stripped and stat() fails for 'C:'.

-- Nico

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-llvm-Support-FileSystem-Add-path-is_root_path.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120212/ff49b78b/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-clang-Basic-Handle-windows-drives-in-FileManager-getDirectory.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120212/ff49b78b/attachment-0001.ksh>


More information about the cfe-commits mailing list