diff options
author | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-11-25 06:33:27 +0000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-11-25 06:33:27 +0000 |
commit | 98873ec17c35cac3b1e2b1f7fa3d04aadd54548b (patch) | |
tree | f0142630a9e1fa828bc40220f4402f0256cf7e46 /lib/Driver/Compilation.cpp | |
parent | be724bab2ba7ad47aebced25e7c8ec551eb72d28 (diff) |
Fix for Path::isSpecialFile to Path::isRegularFile API in rev 89765.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89849 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Compilation.cpp')
-rw-r--r-- | lib/Driver/Compilation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Compilation.cpp b/lib/Driver/Compilation.cpp index 81b2cc5f37..b819cda89c 100644 --- a/lib/Driver/Compilation.cpp +++ b/lib/Driver/Compilation.cpp @@ -89,7 +89,7 @@ bool Compilation::CleanupFileList(const ArgStringList &Files, llvm::sys::Path P(*it); std::string Error; - if (P.isSpecialFile()) { + if (!P.isRegularFile()) { // If we have a special file in our list, i.e. /dev/null // then don't call eraseFromDisk() and just continue. continue; |