OSDN Git Service

In openFileForRead, attempt to fetch the actual name of the file on disk -- including...
authorTaewook Oh <twoh@fb.com>
Fri, 3 Jun 2016 18:38:39 +0000 (18:38 +0000)
committerTaewook Oh <twoh@fb.com>
Fri, 3 Jun 2016 18:38:39 +0000 (18:38 +0000)
commit033103449b6486e9e09a9bf2cf487d7d0095e58c
treeed5ce88bc7dbb00982c315c24539f03178c6d213
parent561fb73b855cd64f73781b246e0c983fc00369d0
In openFileForRead, attempt to fetch the actual name of the file on disk -- including case -- so that clang can later warn about non-portable #include and #import directives.

Differential Revision: http://reviews.llvm.org/D19842

Patch by Eric Niebler

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271704 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/FileSystem.h
lib/Support/Unix/Path.inc
lib/Support/Windows/Path.inc
unittests/Support/Path.cpp