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
diff --git a/lib/Driver/Compilation.cpp b/lib/Driver/Compilation.cpp
index 81b2cc5..b819cda 100644
--- a/lib/Driver/Compilation.cpp
+++ b/lib/Driver/Compilation.cpp
@@ -89,7 +89,7 @@
     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;