commit | b0aa9e9718181952d5a636c72ff32c8d4352685b | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Wed Jul 17 14:58:25 2013 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Wed Jul 17 14:58:25 2013 +0000 |
tree | 6c6fa65ca4b3dbd4b94de38d3332f22104cd078f | |
parent | 86f4f6526b18765cdb78bee593e1354bc9f55085 [diff] |
Split openFileForRead into Windows and Unix versions. This has some advantages: * Lets us use native, utf16 windows functions. * Easy to produce good errors on windows about trying to use a directory when we want a file. * Simplifies the unix version a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186511 91177308-0d34-0410-b5e6-96231b3b80d8