]> granicus.if.org Git - clang/commitdiff
Driver: Don't claim inputs when pipelining, a tool should eventually
authorDaniel Dunbar <daniel@zuster.org>
Wed, 18 Mar 2009 06:09:38 +0000 (06:09 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 18 Mar 2009 06:09:38 +0000 (06:09 +0000)
claim these.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67171 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Driver.cpp

index 35b206600d91124672ce726e8aca7b909cafd075..7d94c08283fe4bb2c74e8d7bcd6891932f08ca72 100644 (file)
@@ -437,7 +437,6 @@ void Driver::BuildActions(const ArgList &Args, ActionList &Actions) const {
       // doing, since the tool presumably does this anyway, and this
       // just adds an extra stat to the equation, but this is gcc
       // compatible.
-      A->claim();
       if (memcmp(Value, "-", 2) != 0 && !llvm::sys::Path(Value).exists())
         Diag(clang::diag::err_drv_no_such_file) << A->getValue(Args);
       else