commit | e953f86b951fa980dc1161973761d4bed571b8aa | [log] [tgz] |
---|---|---|
author | Zachary Turner <zturner@google.com> | Fri Mar 10 18:33:41 2017 +0000 |
committer | Zachary Turner <zturner@google.com> | Fri Mar 10 18:33:41 2017 +0000 |
tree | 87f520e65d1e0b7ff838cdb72de88d5c57a43524 | |
parent | b101e283a3cd3273c17de197d0c7cb3af5fdab63 [diff] |
[Support] Don't return an error if realPath fails. In openFileForRead, we would not previously return an error if real_path resolution failed. After a recent patch, we started propagating this error up. This caused a failure in clang when trying to call openFileForRead("nul"). This patch restores the previous behavior of not propagating this error up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297488 91177308-0d34-0410-b5e6-96231b3b80d8