[cfe-commits] r89849 - /cfe/trunk/lib/Driver/Compilation.cpp

Edward O'Callaghan eocallaghan at auroraux.org
Tue Nov 24 22:33:28 PST 2009


Author: evocallaghan
Date: Wed Nov 25 00:33:27 2009
New Revision: 89849

URL: http://llvm.org/viewvc/llvm-project?rev=89849&view=rev
Log:
Fix for Path::isSpecialFile to Path::isRegularFile API in rev 89765.

Modified:
    cfe/trunk/lib/Driver/Compilation.cpp

Modified: cfe/trunk/lib/Driver/Compilation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Compilation.cpp?rev=89849&r1=89848&r2=89849&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/Compilation.cpp (original)
+++ cfe/trunk/lib/Driver/Compilation.cpp Wed Nov 25 00:33:27 2009
@@ -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;





More information about the cfe-commits mailing list