aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-03-10 18:33:41 +0000
committerZachary Turner <zturner@google.com>2017-03-10 18:33:41 +0000
commit3c0dc3360075de6bcdd2de9b19ca0879ebb6980d (patch)
tree9fb1773165e36f49e5f48ab2099a3e46f0e5b196 /clang/unittests/Basic/VirtualFileSystemTest.cpp
parent9dd49054fa55696004bccc6e8babb76b9d7c13c4 (diff)
downloadllvm-3c0dc3360075de6bcdd2de9b19ca0879ebb6980d.zip
llvm-3c0dc3360075de6bcdd2de9b19ca0879ebb6980d.tar.gz
llvm-3c0dc3360075de6bcdd2de9b19ca0879ebb6980d.tar.bz2
[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. llvm-svn: 297488
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions