]> granicus.if.org Git - clang/commit
Don't test isRegularFile before calling eraseFromDisk, since
authorDan Gohman <gohman@apple.com>
Fri, 29 Oct 2010 23:26:14 +0000 (23:26 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 29 Oct 2010 23:26:14 +0000 (23:26 +0000)
commit978e3a274aae203a6c2b74094be791ac9e2662e5
tree83b3740323283f63b4d50ce4b99fd05034e3db4f
parent1e592cba6bc1930e7a01dde8370e5345cef05723
Don't test isRegularFile before calling eraseFromDisk, since
eraseFromDisk does the same check. This avoids a stat call
in the common case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117744 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Compilation.cpp