diff options
author | Ben Langmuir <blangmuir@apple.com> | 2014-02-19 15:36:37 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2014-02-19 15:36:37 +0000 |
commit | 62edd0a05939cca435663bcd3cc863f3d128e3fe (patch) | |
tree | 829b11f0a21ae56af0caf9eff68a755dda2cd17e /clang/lib/Basic/VirtualFileSystem.cpp | |
parent | 12b82dd6cad9f4f1d798ea0a7425ca6d0c49dee6 (diff) | |
download | bcm5719-llvm-62edd0a05939cca435663bcd3cc863f3d128e3fe.tar.gz bcm5719-llvm-62edd0a05939cca435663bcd3cc863f3d128e3fe.zip |
Remove typo from r201618
Fixes PR18895
llvm-svn: 201685
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
-rw-r--r-- | clang/lib/Basic/VirtualFileSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/VirtualFileSystem.cpp b/clang/lib/Basic/VirtualFileSystem.cpp index 7afdac864b9..6379cd5ef23 100644 --- a/clang/lib/Basic/VirtualFileSystem.cpp +++ b/clang/lib/Basic/VirtualFileSystem.cpp @@ -45,7 +45,7 @@ bool Status::isRegularFile() const { return Type == file_type::regular_file; } bool Status::isOther() const { - return Type == exists() && !isRegularFile() && !isDirectory() && !isSymlink(); + return exists() && !isRegularFile() && !isDirectory() && !isSymlink(); } bool Status::isSymlink() const { return Type == file_type::symlink_file; |