diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-29 15:47:24 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-29 15:47:24 +0000 |
commit | 146d57fd5135a134bcdaaf402157c070cde9e4a1 (patch) | |
tree | 6f3a8b4b6699c9fa8e384bf66815e81e1c9ba29a /lib/Basic/SourceManager.cpp | |
parent | bbe759cf95a5df5497549abadb56282939868da1 (diff) | |
download | clang-146d57fd5135a134bcdaaf402157c070cde9e4a1.tar.gz |
Fix handling of "clang c:foo"
On windows, c:foo is a valid file path, but stat fails on just "c:". This
causes a problem for clang since its file manager wants to cache data about
the parent directory.
There are refactorings to be done in here, but this gives clang the correct
behavior and testing first.
Patch by Yunzhong Gao!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions